24 lines
603 B
HTML
24 lines
603 B
HTML
{{template "layout.html" .}}
|
|
|
|
{{define "title"}}{{ title (strip (collection .Id)) }}{{end}}
|
|
|
|
{{define "content"}}
|
|
|
|
{{ if world.MapReady }}
|
|
<div class="object-map">
|
|
<div id="map" style="width: 300px; height: 300px"></div>
|
|
</div>
|
|
{{initMap}}
|
|
{{ addCollection .Id }}
|
|
{{- end }}
|
|
|
|
<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 }} |