Taxonomies: Fix headings and lists
This commit is contained in:
parent
ad72231459
commit
a80cb42a34
5 changed files with 42 additions and 0 deletions
3
content/authors/_index.md
Normal file
3
content/authors/_index.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
title: Autoren
|
||||
---
|
3
content/categories/_index.md
Normal file
3
content/categories/_index.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
title: Blogpost-Kategorien
|
||||
---
|
3
content/tags/_index.md
Normal file
3
content/tags/_index.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
title: Tags
|
||||
---
|
16
themes/ccchh/layouts/_default/term.html
Normal file
16
themes/ccchh/layouts/_default/term.html
Normal 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 }}
|
17
themes/ccchh/layouts/_default/terms.html
Normal file
17
themes/ccchh/layouts/_default/terms.html
Normal 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 }}
|
Loading…
Reference in a new issue