dorfylegends/backend/templates/mountain.html
2022-05-04 12:07:35 +00:00

14 lines
266 B
HTML

{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
<h1>{{ title .Name }}</h1>
<p>{{ if .IsVolcano }}volcano{{else}}mountain{{end}}</p>
<h5>Events</h5>
{{ template "events.html" events . }}
<p>{{ json . }}</p>
{{- end }}