2024-05-19 17:41:00 +08:00

12 lines
282 B
HTML

{{ define "main" }}
{{ .Content }}
<h1>Posts</h1>
# latest 20 posts
{{ range first 20 .Site.RegularPages }}
{{ if eq .Section "post" }}
<h2><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
{{ end }}
{{ end }}
{{ end }}