dorfylegends/backend/templates/collection.html

16 lines
438 B
HTML
Raw Normal View History

2022-05-03 15:59:47 +03:00
{{template "layout.html" .}}
{{define "title"}}{{ title (strip (collection .Id)) }}{{end}}
{{define "content"}}
<h3>{{ html (capitalize (string (collection .Id))) }}</h3>
{{- if eq .Type "occasion" }}{{- with getOccasion .Details.CivId .Details.OccasionId }}{{- if ne .Event -1 }}
<p>A festival commemorating {{ story .Event }}</p>
{{- end }}{{- end}}{{- end}}
{{ template "collectionDetail.html" . }}
<p>{{ json . }}</p>
{{- end }}