Change tag for page list to section

master
Will Faught 3 years ago
parent 9381796007
commit a94de4cf1d

@ -14,7 +14,7 @@
{{ end }} {{ end }}
{{ else }} {{ else }}
{{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }} {{ $p := .Paginate (.Pages.ByDate.Reverse.GroupByDate "January 2006") }}
<article> <section>
{{ range $p.PageGroups }} {{ range $p.PageGroups }}
<h5 class="text-center">{{ .Key }}</h5> <h5 class="text-center">{{ .Key }}</h5>
{{ range .Pages }} {{ range .Pages }}
@ -23,7 +23,7 @@
</p> </p>
{{ end }} {{ end }}
{{ end }} {{ end }}
</article> </section>
{{ if or $p.HasPrev $p.HasNext }} {{ if or $p.HasPrev $p.HasNext }}
<section> <section>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">

Loading…
Cancel
Save