vanilla-hugo/layouts/_default/list.html

11 lines
195 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<h2>{{ .Title }}</h2>
2022-03-15 17:11:17 -07:00
{{ .Content }}
<ul class="post-list">
{{ range .Pages.ByDate.Reverse }}
{{ partial "post.html" (dict "page" .) }}
{{ end }}
</ul>
{{ end }}