2024-05-20 01:52:17 +08:00

11 lines
281 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 }}