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

11 lines
353 B
HTML

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