Merge branch 'main' into testing
This commit is contained in:
commit
24f284b325
|
@ -1,5 +1,5 @@
|
||||||
+++
|
---
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
+++
|
---
|
||||||
|
|
|
@ -4,12 +4,14 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main class="main-content">
|
<main class="main-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<section id="list">
|
</main>
|
||||||
{{- range .Data.Pages }}
|
<section id="projects">
|
||||||
<section class="list-item">
|
{{- range first 10 .Data.Pages }}
|
||||||
<a href="{{- .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}" class="button">
|
||||||
|
<section class="project-tile">
|
||||||
|
<a href="{{- .Permalink }}" class="button"><h2>{{ .Title }}</h2></a>
|
||||||
</section>
|
</section>
|
||||||
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ $currentPage := . }}
|
{{ $currentPage := . }}
|
||||||
{{ range .Site.Menus.social }}
|
{{ range .Site.Menus.social }}
|
||||||
<a class="{{if or ($currentPage.IsMenuCurrent "social" .) ($currentPage.HasMenuCurrent "social" .) }} active{{end}} button" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a><br>
|
<a class="{{if or ($currentPage.IsMenuCurrent "social" .) ($currentPage.HasMenuCurrent "social" .) }} active{{end}} button" rel="me" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a><br>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div>
|
<div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue