Basic Briefansicht + parsing

This commit is contained in:
Simon Martens
2025-04-01 18:07:57 +02:00
parent 0e2c6360bf
commit 31d40c1ce1
13 changed files with 107 additions and 55 deletions

View File

@@ -6,3 +6,5 @@
{{ if .next }}
<a href="/brief/{{ .next.Letter }}" class="stdlink">Nächster</a>
{{ end }}
{{- Safe (ParseGeneric .text.Content) -}}

View File

@@ -5,14 +5,14 @@
{{- range $y := .years -}}
<a
class="inline-block stdlink px-0.5"
href="/jahrgang/{{ $y }}"
href="/briefe?year={{ $y }}"
{{ if eq $model.year $y -}}aria-current="page"{{- end }}
>{{ $y }}</a
>
{{- end -}}
<a
class="inline-block stdlink px-0.5"
href="/jahrgang/all"
href="/briefe?year=all"
{{ if .all -}}aria-current="page"{{- end }}
>Alle</a
>