Use article tag for pages of pages

This commit is contained in:
Will Faught
2022-12-17 10:16:56 -08:00
parent 932192e28c
commit 2747f38c14
2 changed files with 15 additions and 13 deletions

View File

@@ -14,18 +14,20 @@
{{ end }}
{{ else }}
{{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }}
{{ range $p.PageGroups }}
<h5 class="text-center">{{ .Key }}</h5>
{{ range .Pages }}
<p class="text-center">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
{{ with .Description }}
<br>
{{ . | markdownify }}
<article>
{{ range $p.PageGroups }}
<h5 class="text-center">{{ .Key }}</h5>
{{ range .Pages }}
<p class="text-center">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
{{ with .Description }}
<br>
{{ . | markdownify }}
{{ end }}
</p>
{{ end }}
</p>
{{ end }}
{{ end }}
{{ end }}
</article>
{{ if or $p.HasPrev $p.HasNext }}
<section>
<div class="d-flex justify-content-center">