rottentheme/layouts/_default/list.html

12 lines
254 B
HTML
Raw Normal View History

2024-09-01 04:33:20 +00:00
{{ 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 }}