Hand, Some other changes

This commit is contained in:
Simon Martens
2025-04-28 14:47:55 +02:00
parent 133a9ac9ef
commit 5ffa19776e
7 changed files with 197 additions and 56 deletions

View File

@@ -1,12 +1,21 @@
{{- template "_letterhead" .meta -}}
<div class="flex flex-row w-full border-b pb-2 mb-3">
{{- template "_letterhead" .meta -}}
{{ if .prev }}
<a href="/brief/{{ .prev.Letter }}" class="stdlink">Vorheriger</a>
{{ end }}
{{ if .next }}
<a href="/brief/{{ .next.Letter }}" class="stdlink">Nächster</a>
{{ end }}
<div class="self-end justify-self-end grow-0 ">
{{ if .prev }}
<a href="/brief/{{ .prev.Letter }}" class="stdlink"
><i class="ri-arrow-left-long-line"></i
></a>
{{ end }}
<span class="mx-1 font-variant-small-caps">LKB</span>
{{ if .next }}
<a href="/brief/{{ .next.Letter }}" class="stdlink"
><i class="ri-arrow-right-long-line"></i
></a>
{{ end }}
</div>
</div>
<div class="text">
{{- Safe (ParseGeneric .text.Content) -}}

View File

@@ -1,7 +1,7 @@
{{ $model := . }}
<div class="flex flex-row">
<div class="flex flex-row grow">
<div class="mr-4 text-6xl">{{ $model.Letter }}</div>
<div class="pt-0.5">
<div>{{ $model.Earliest.Text -}}</div>

View File

@@ -1,7 +1,7 @@
{{- $letters := . }}
{{ range $l := $letters -}}
<a class="block mb-2" href="/brief/{{ $l.Letter }}">
<a class="block mb-4" href="/brief/{{ $l.Letter }}">
{{- template "_letterhead" $l -}}
</a>
{{- end -}}