13 lines
329 B
HTML

{{ define "main" }}
{{ .Content }}
<h2>Posts</h2>
<ul>
{{ range first 100 ( where .Site.RegularPages "Section" "posts" ) }}
<li>
<time>{{ .Date.Format "2006/01/02" }}</time>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>
{{ end }}