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

11 lines
238 B
HTML

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