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

10 lines
293 B
HTML

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