blog-static/themes/vanilla/layouts/index.html
2020-05-04 03:23:55 -07:00

11 lines
256 B
HTML

{{ define "main" }}
{{ .Content }}
Recent posts:
<ul class="page-list">
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}