mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-12-16 20:15:29 +00:00
kl. updates
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<title>
|
||||
KGPZ – Personen & Körperschaften: {{ Upper .model.Search }}
|
||||
</title>
|
||||
KGPZ – Personen: {{ Upper .model.Search }}
|
||||
</title>
|
||||
|
||||
@@ -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" -}}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user