Reihen Page -- all kinds of stuff

This commit is contained in:
Simon Martens
2025-02-14 12:05:34 +01:00
parent 8d00f6a44d
commit 6aeb4c0548
18 changed files with 369 additions and 172 deletions

View File

@@ -0,0 +1 @@
Hello from Datenschutz

View File

@@ -1 +1 @@
<title>KGPZ &ndash; Impressum &amp; Datenschutz</title>
<title>Musenalm &ndash; Impressum &amp; Datenschutz</title>

View File

@@ -1,9 +1,29 @@
Hello {{ .name }} from the {{ .haus }}(default template)!
{{ if .letters }}
<div>
{{ range $id, $r := .letters }}
<a href="/reihen?letter={{ $r }}">{{ $r }}</a>
{{ end }}
</div>
{{ end }}
{{ range $id, $r := .series }}
<div>
{{ $r.Title }}
<div>
{{ $r.Annotation }}
{{ Safe $r.Annotation }}
</div>
</div>
{{ end }}
{{ if .search }}
<div class="mt-8">
{{ range $id, $r := .altseries }}
<div>
{{ $r.Title }}
<div>
{{ Safe $r.Annotation }}
</div>
</div>
{{ end }}
</div>
{{ end }}