yequari.com/themes/dreamcast/layouts/index.html

10 lines
287 B
HTML

{{ define "main" }}
{{ .Content }}
<h2>Latest Blog Posts</h2>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
<ul>
<li><a class="title u-url p-name" href="{{ .RelPermalink }}">{{ .Title }}</a></li>
</ul>
{{ end }}
{{ end }}