yequari.com/themes/dreamcast/layouts/partials/posts-by-year.html

7 lines
181 B
HTML

<ul>
{{ range $index,$element := .Site.Taxonomies.year -}}
<!-- {{if ne $index "2022"}},{{end}} -->
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></li>
{{- end -}}
</ul>