mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
21 lines
535 B
Plaintext
21 lines
535 B
Plaintext
{{ $piece := . }}
|
|
Eintrag!
|
|
|
|
<!-- Autor(en) -->
|
|
{{ $authorset := false }}
|
|
{{ range $agentref := $piece.AgentRefs }}
|
|
{{ if (or (eq $agentref.Category "") (eq $agentref.Category "autor")) }}
|
|
{{ $agent := GetAgent $agentref.Ref }}
|
|
<!-- NOT IMPLEMENTED: Multiple agent names -->
|
|
{{- if gt (len $agent.Names) 0 -}}
|
|
<div class="inline-block">{{- index $agent.Names 0 -}}</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ range $annotation := $piece.AnnotationNote.Annotations }}
|
|
<div>
|
|
{{ $annotation.Inner.InnerXML }}
|
|
</div>
|
|
{{ end }}
|