List tags by year

This commit is contained in:
Brandon Rozek 2025-05-09 20:25:25 -04:00
parent 3bf669ac6a
commit d507426ff0
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567

View file

@ -7,7 +7,7 @@
</div> </div>
<!-- contents --> <!-- contents -->
<div class="bloglist"> <div class="bloglist">
{{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "January, 2006"}} {{ $listPageDateFormat := .Site.Params.listPageDateFormat | default "2006"}}
{{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }} {{ range $index, $value := .Pages.GroupByDate $listPageDateFormat }}
{{ if (ne $index 0) }} {{ if (ne $index 0) }}
<br/> <br/>