further enhancements of citation

This commit is contained in:
Simon Martens
2025-09-27 18:47:21 +02:00
parent 86959388ec
commit 31b4be14ae

View File

@@ -207,7 +207,8 @@
{{- end -}} {{- end -}}
{{- range $index, $element := $authorElements -}} {{- range $index, $element := $authorElements -}}
{{- if gt $index 0 }}, {{ end }}{{ Safe $element }} {{- if gt $index 0 }}, {{ end }}{{ Safe $element }}
{{- end -}}{{ $colonPrefix }}Rezension von: {{- end -}}
{{- if gt (len $authorElements) 0 -}}{{ $colonPrefix }}{{- end -}}Rezension von:
{{- else if not $useColonFormat -}} {{- else if not $useColonFormat -}}
{{ Safe $fortsPrefix }} {{ Safe $fortsPrefix }}
{{- $authorElements := slice -}} {{- $authorElements := slice -}}
@@ -228,7 +229,8 @@
{{- end -}} {{- end -}}
{{- range $index, $element := $authorElements -}} {{- range $index, $element := $authorElements -}}
{{- if gt $index 0 }}, {{ end }}{{ Safe $element }} {{- if gt $index 0 }}, {{ end }}{{ Safe $element }}
{{- end -}}, {{- end -}}
{{- if gt (len $authorElements) 0 -}},{{- end -}}
{{- else -}} {{- else -}}
{{ Safe $fortsPrefix }}Rezension von: {{ Safe $fortsPrefix }}Rezension von:
{{- end -}} {{- end -}}
@@ -455,8 +457,7 @@
Redaktionelle Stellungnahme Redaktionelle Stellungnahme
{{ else }} {{ else }}
Anmerkung der Redaktion Anmerkung der Redaktion
{{ end }} {{ end }}{{ if $title }}: <em>{{ $title }}</em>{{ end }}{{ Safe $placeTag }}
{{ if $title }}: <em>{{ $title }}</em>{{ end }}{{ Safe $placeTag }}
{{- else if $categoryFlags.Brief -}} {{- else if $categoryFlags.Brief -}}
{{ Safe $fortsPrefix }}{{ if $categoryFlags.Nachruf }} {{ Safe $fortsPrefix }}{{ if $categoryFlags.Nachruf }}
@@ -535,7 +536,8 @@
{{- end -}} {{- end -}}
{{- range $index, $element := $authorElements -}} {{- range $index, $element := $authorElements -}}
{{- if gt $index 0 }}, {{ end }}{{ Safe $element }} {{- if gt $index 0 }}, {{ end }}{{ Safe $element }}
{{- end -}}{{ $colonPrefix }} {{- end -}}
{{- if gt (len $authorElements) 0 -}}{{ $colonPrefix }}{{- end -}}
{{- else if not $useColonFormat -}} {{- else if not $useColonFormat -}}
{{ Safe $fortsPrefix }} {{ Safe $fortsPrefix }}
{{- $authorElements := slice -}} {{- $authorElements := slice -}}
@@ -559,7 +561,7 @@
{{- end -}} {{- end -}}
{{- if gt (len $authorElements) 0 -}} {{- if gt (len $authorElements) 0 -}}
{{- if $title }}: <em>{{ $title }}</em>{{ end }}{{ if $workTitle }} {{- if $title }}: <em>{{ $title }}</em>{{ end }}{{ if $workTitle }}
{{ if $title }}, {{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ end }}{{ if $workAuthorName }} {{ if $title }}, {{ end }}{{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ if $workAuthorName }}
<a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em <a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em
class="work-title" class="work-title"
data-short-title="{{ $workTitle }}" data-short-title="{{ $workTitle }}"
@@ -568,7 +570,7 @@
{{ end }} {{ end }}
{{- else -}} {{- else -}}
{{- if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }} {{- if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }}
{{ if $title }}, {{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ end }}{{ if $workAuthorName }} {{ if $title }}, {{ end }}{{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ if $workAuthorName }}
<a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em <a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em
class="work-title" class="work-title"
data-short-title="{{ $workTitle }}" data-short-title="{{ $workTitle }}"
@@ -578,7 +580,7 @@
{{- end -}}{{ Safe $placeTag }} {{- end -}}{{ Safe $placeTag }}
{{- else -}} {{- else -}}
{{ Safe $fortsPrefix }}{{ if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }} {{ Safe $fortsPrefix }}{{ if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }}
{{ if $title }}, {{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ end }}{{ if $workAuthorName }} {{ if $title }}, {{ end }}{{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ if $workAuthorName }}
<a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em <a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em
class="work-title" class="work-title"
data-short-title="{{ $workTitle }}" data-short-title="{{ $workTitle }}"
@@ -588,7 +590,7 @@
{{- end -}} {{- end -}}
{{- else -}} {{- else -}}
{{ Safe $fortsPrefix }}{{ if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }} {{ Safe $fortsPrefix }}{{ if $title }}<em>{{ $title }}</em>{{ end }}{{ if $workTitle }}
{{ if $title }}, {{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ end }}{{ if $workAuthorName }} {{ if $title }}, {{ end }}{{ if $categoryFlags.Uebersetzung }}Übersetzung aus:{{ else }}Auszug aus:{{ end }} {{ if $workAuthorName }}
<a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em <a href="/akteure/{{ $workAuthorID }}" class="author-link text-slate-700 hover:text-slate-900 underline decoration-slate-400 hover:decoration-slate-600">{{ $workAuthorName }}</a>, {{ end }}<em
class="work-title" class="work-title"
data-short-title="{{ $workTitle }}" data-short-title="{{ $workTitle }}"