mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-11-04 03:35:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			580 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			580 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{{ $piece := . }}
 | 
						|
Eintrag!
 | 
						|
 | 
						|
<!-- Autor(en) -->
 | 
						|
{{ $authorset := false }}
 | 
						|
<div class="authors">
 | 
						|
	{{ 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="author inline-block">{{- index $agent.Names 0 -}}</div>
 | 
						|
			{{ end }}
 | 
						|
		{{ end }}
 | 
						|
	{{ end }}
 | 
						|
</div>
 | 
						|
 | 
						|
{{ range $annotation := $piece.AnnotationNote.Annotations }}
 | 
						|
	<div>
 | 
						|
		{{ $annotation.Inner.InnerXML }}
 | 
						|
	</div>
 | 
						|
{{ end }}
 |