This commit is contained in:
Simon Martens
2024-12-04 13:11:49 +01:00
parent 9b736cb5ef
commit 09d900b5b3
8 changed files with 75 additions and 60 deletions

View File

@@ -0,0 +1,20 @@
{{ $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 }}