pixelfed-design-demos/layouts/_default/list.html
2021-12-09 02:45:28 -06:00

19 lines
482 B
HTML

{{ define "main" }}
<main>
<header class="section page-header">
<div class="container">
<h1 class="page-title">{{ .Title }}</h1>
</div>
</header>
<section class="section list">
<div class="container">
{{ range .Pages }}
<a class="list-item" href="{{ .Permalink }}">
<h2 class="list-item__title">{{ .Title }}</h2>
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
</a>
{{ end }}
</div>
</section>
</main>
{{ end }}