Taxonomies: Fix headings and lists

This commit is contained in:
jtbx 2023-10-05 23:23:48 +02:00
parent ad72231459
commit a80cb42a34
5 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
title: Autoren
---

View file

@ -0,0 +1,3 @@
---
title: Blogpost-Kategorien
---

3
content/tags/_index.md Normal file
View file

@ -0,0 +1,3 @@
---
title: Tags
---

View file

@ -0,0 +1,16 @@
{{ define "main" }}
<main class="container" aria-role="main">
<header class="header">
<h1>{{ .Parent.Title }}: {{ .Title }}</h1>
</header>
<ul>
{{ range .Pages }}
<!-- TODO: Content summary -->
<li>
<a href="{{ .Permalink }}"><span style="font-variant-numeric: tabular-nums;">{{ .Date.Format "2006-01-02" }}</span> | {{ .Title }}</a>
</li>
{{ end }}
</ul>
</main>
{{ end }}

View file

@ -0,0 +1,17 @@
{{ define "main" }}
<main class="container" aria-role="main">
<header class="header">
<h1>{{ .Title }}</h1>
</header>
<section>
<ul>
{{ range .Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</section>
</main>
{{ end }}