apotheke/layouts/partials/list.html
2024-06-16 02:32:56 +02:00

20 lines
418 B
HTML
Executable file

<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>