apotheke/layouts/partials/list.html
2024-05-27 23:13:51 +02:00

20 lines
418 B
HTML

<div class="container list-posts">
<h1 class="list-title">{{ lower .Name }}</h1>
{{ range (where .Pages "Params.type" "post" ).GroupByDate "2006" }}
<!-- Display text here
Date
<h2 class="posts-year">{{ .Key }}</h2>
Other text
<h2 class="posts-year"></h2>
-->
{{- range .Pages -}}
{{- partial "list-posts.html" . -}}
{{ end }}
{{ end }}
</div>