kl. updates

This commit is contained in:
Simon Martens
2025-10-07 13:48:04 +02:00
parent 5ce063fd12
commit b832020a59
8 changed files with 36 additions and 36 deletions

View File

@@ -5,7 +5,7 @@
<h1 class="text-4xl font-bold text-gray-900 mb-2">Autor:innen</h1>
<p class="text-gray-700">Personen, die Beiträge in der Zeitung verfasst haben</p>
{{ else }}
<h1 class="text-4xl font-bold text-gray-900 mb-2">Personen & Körperschaften</h1>
<h1 class="text-4xl font-bold text-gray-900 mb-2">Personen</h1>
<p class="text-gray-700">Verzeichnis aller in der Zeitung erwähnten Personen und Institutionen</p>
{{ end }}
@@ -22,4 +22,4 @@
<span class="ml-2 text-gray-700">Nur Autor:innen anzeigen</span>
</label>
</div>
</div>
</div>

View File

@@ -1,3 +1,3 @@
<title>
KGPZ &ndash; Personen &amp; Körperschaften: {{ Upper .model.Search }}
</title>
KGPZ &ndash; Personen: {{ Upper .model.Search }}
</title>

View File

@@ -20,7 +20,7 @@
{{ range $_, $w := $works }}
<div class="mb-2 break-inside-avoid max-w-[95ch]">
{{- if ne (len $w.Item.Citation.InnerXML ) 0 -}}
<div class="indent-6">
<div class="ml-4 -indent-4">
{{- /* Get other associated persons for this work */ -}}
{{- $otherAuthors := slice -}}
{{- $otherTranslators := slice -}}
@@ -100,7 +100,7 @@
{{- $categoryFlags := GetCategoryFlags $p.Item -}}
{{- $categories := slice -}}
{{- if $categoryFlags.Rezension -}}
{{- $categories = append $categories "Rezension" -}}
{{- $categories = append $categories "Rezensiert" -}}
{{- end -}}
{{- if $categoryFlags.Auszug -}}
{{- $categories = append $categories "Auszug" -}}
@@ -168,7 +168,7 @@
{{- /* Display each group */ -}}
{{- range $groupKey, $groupPieces := $pieceGroups -}}
<div class="mb-1 text-gray-600">
<div class="ml-4 mb-1 text-gray-600">
{{- /* Extract categories, authors, translators, and editors from group key */ -}}
{{- $keyParts := split $groupKey "|" -}}
{{- $categoryName := index $keyParts 0 -}}
@@ -185,7 +185,7 @@
{{- /* Use plural if multiple pieces grouped together */ -}}
{{- $displayCategory := $categoryName -}}
{{- if gt (len $groupPieces) 1 -}}
{{- if eq $categoryName "Rezension" -}}
{{- if eq $categoryName "Rezensiert" -}}
{{- $displayCategory = "Rezensionen" -}}
{{- else if eq $categoryName "Auszug" -}}
{{- $displayCategory = "Auszüge" -}}

View File

@@ -11,7 +11,7 @@
<h2 class="text-2xl font-bold font-serif text-gray-900 mb-1">Autor:innen</h2>
<p class="text-base text-gray-600 mb-3">Personen, die Beiträge in der Zeitung verfasst haben</p>
{{ else }}
<h2 class="text-2xl font-bold font-serif text-gray-900 mb-1">Personen & Körperschaften</h2>
<h2 class="text-2xl font-bold font-serif text-gray-900 mb-1">Personen</h2>
<p class="text-base text-gray-600 mb-3">Verzeichnis aller in der Zeitung erwähnten Personen und Institutionen</p>
{{ end }}