14 lines
No EOL
266 B
HTML
14 lines
No EOL
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 }} |