Blog/themes/papercut/layouts/_default/list.html

17 lines
468 B
HTML

{{ define "main" }}
<div class="container">
<main>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
<div class="list-group w-auto">
{{ range .Pages.ByPublishDate.Reverse }}
<div class="list-group-item list-group-item-action d-flex gap-3 py-3">
<label>{{ .PublishDate.Format "2006-01-02" }}</label>
<a class="text-clean" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}
</div>
</section>
</main>
</div>
{{ end }}