{{- $content := index . "content" -}} {{- $entry := index . "entry" -}} {{- $csrf := index . "csrf_token" -}} {{- $agents := index . "agents" -}} {{- $contentAgents := index . "content_agents" -}} {{- $isNew := index . "is_new" -}}
{{- if or $content.Extent $content.MusenalmPagination -}}
Seite
{{ if $content.Extent }}{{ $content.Extent }}{{ end }}{{ if and $content.Extent $content.MusenalmPagination }}, {{ end }}{{ if $content.MusenalmPagination }}{{ $content.MusenalmPagination }}{{ end }}
{{- end -}} {{- if $content.TitleStmt -}}
Titel
{{- $content.TitleStmt -}}
{{- end -}} {{- if $content.SubtitleStmt -}}
Untertitel
{{- $content.SubtitleStmt -}}
{{- end -}} {{- if $content.ParallelTitle -}}
Paralleltitel
{{- $content.ParallelTitle -}}
{{- end -}} {{- if $content.VariantTitle -}}
Titelvarianten
{{- $content.VariantTitle -}}
{{- end -}} {{- if $content.PlaceStmt -}}
Ortsangabe
{{- $content.PlaceStmt -}}
{{- end -}} {{- if gt (len $content.Language) 0 -}}
Sprache
{{- range $i, $lang := $content.Language -}}{{- if $i }}, {{ end -}}{{- $lang -}}{{- end -}}
{{- end -}} {{- if gt (len $content.ContentType) 0 -}}
Beitragstyp
{{- range $i, $t := $content.ContentType -}}{{- if $i }}, {{ end -}}{{- $t -}}{{- end -}}
{{- end -}} {{- if $content.IncipitStmt -}}
Incipit
{{ $content.IncipitStmt }}…
{{- end -}} {{- if $content.ResponsibilityStmt -}}
Autorangabe
{{- $content.ResponsibilityStmt -}}
{{- end -}} {{- if $content.Comment -}}
Kommentar
{{- $content.Comment -}}
{{- end -}} {{- if $contentAgents -}}
Personen
{{- range $_, $rel := $contentAgents -}} {{- $agent := index $agents $rel.Agent -}} {{- if $agent -}}
{{- $agent.Name -}} {{- if $agent.BiographicalData -}} ({{ $agent.BiographicalData }}) {{- end -}}
{{- end -}} {{- end -}}
{{- end -}} {{- if $content.Annotation -}} {{- $link := printf "%s%s" "/almanach/" $entry.MusenalmIDString -}}
Anmerkung
{{- Safe (LinksAnnotation (ReplaceSlashParen $content.Annotation) $link) -}}
{{- end -}}
{{- template "_content_images_panel" (Dict "content" $content "entry" $entry "csrf_token" $csrf "is_new" $isNew ) -}}