dorfylegends/backend/templates/mountain.html

17 lines
384 B
HTML
Raw Normal View History

2022-05-04 15:07:35 +03:00
{{template "layout.html" .}}
{{define "title"}}{{ title .Name }}{{end}}
{{define "content"}}
2022-05-06 17:17:50 +03:00
<h3>{{ title .Name }}</h3>
2022-05-04 15:07:35 +03:00
<p>{{ if .IsVolcano }}volcano{{else}}mountain{{end}}</p>
2022-05-06 17:17:50 +03:00
<dl class="row">
<dt class="col-2 col-lg-1">Height</dt>
<dd class="col-10 col-lg-11">{{ .Height }}</dd>
</dl>
2022-05-04 15:07:35 +03:00
2022-05-06 17:17:50 +03:00
<h5>Events</h5>
{{ template "events.html" events . }} <p>{{ json . }}</p>
2022-05-04 15:07:35 +03:00
{{- end }}