vanilla-hugo/layouts/series/terms.html
Danila Fedorin b1d4dd7a32 Adjust post.html to take a dict
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-16 19:35:07 -07:00

11 lines
193 B
HTML

{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ .Content }}
<ul class="post-list">
{{ range sort .Pages "Title" }}
{{ partial "post.html" (dict "page" .) }}
{{ end }}
</ul>
{{ end }}