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

11 lines
238 B
HTML
Raw Normal View History

{{ define "main" }}
{{ .Content }}
Recent posts:
<ul>
2019-08-02 23:05:50 -07:00
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}