blog-static/themes/vanilla/layouts/index.html

11 lines
243 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
{{ .Content }}
Recent posts:
2020-05-09 01:41:10 -07:00
<ul class="post-list">
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
{{ partial "post.html" . }}
{{ end }}
</ul>
{{ end }}