ccchh-website/themes/ccchh/layouts/blog/list.html

32 lines
874 B
HTML
Raw Normal View History

2023-10-02 12:08:18 +02:00
{{ define "main" }}
<main class="container" aria-role="main">
<header class="header">
<h1>{{ .Title }}</h1>
{{ with .Params.subtitle }}
<span class="subtitle">{{ . }}</span>
{{ end }}
<div class="nav-aside">
Filter nach Kategorie:
<ul class="aside">
{{ range .Site.Taxonomies.categories }}
<li>
<a href="{{ .Page.Permalink }}">[{{ .Page.Title }}]</a>
</li>
{{ end }}
</ul>
</div>
</header>
2023-10-02 12:08:18 +02:00
<ul>
{{ range .Pages }}
<!-- TODO: Content summary -->
2023-10-02 12:08:18 +02:00
<li>
<a href="{{ .Permalink }}"><span style="font-variant-numeric: tabular-nums;">{{ .Date.Format "2006-01-02" }}</span> | {{ .Title }}</a>
2023-10-02 12:08:18 +02:00
</li>
{{ end }}
</ul>
<!-- TODO: Pagination: see https://gohugo.io/templates/pagination/ -->
</main>
{{ end }}