rottentheme/layouts/_default/list.html
2024-08-31 21:33:20 -07:00

11 lines
254 B
HTML

{{ define "main" }}
{{ .Content }}
<ul class="list">
{{- range where .Site.RegularPages "Section" "posts"}}
<li>
<span>{{ .Date.Format "2006-01-02" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{- end }}
</ul>
{{ end }}