Format templates

This commit is contained in:
Will Faught
2023-02-05 19:51:09 -08:00
parent 038b48bfc2
commit 469d6ee893
12 changed files with 44 additions and 9 deletions

View File

@@ -2,15 +2,16 @@
{{ $page := . }}
{{ partial "paige/article.html" $page }}
{{ if $page.Pages }}
<section>
<ul class="list-inline text-center">
{{ range (sort $page.Pages "Title") }}
<li class="list-inline-item">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
</section>
<section>
<ul class="list-inline text-center">
{{ range (sort $page.Pages "Title") }}
<li class="list-inline-item">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}
{{ end }}