vanilla-hugo/layouts/index.html

12 lines
256 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
{{ .Content }}
2023-01-01 01:28:18 -08:00
{{ i18n "recentPosts" }}:
<ul class="post-list">
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
{{ partial "post.html" . }}
{{ end }}
</ul>
{{ end }}