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

11 lines
294 B
HTML

{{ define "main" }}
{{ .Content }}
<h2>Latest Blog Posts</h2>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
<article>
<h3><a href="{{ .RelPermalink }}">{{ .Name }}</a></h3>
<p>{{ .Summary }}...</p>
</article>
{{ end }}
{{ end }}