2022-05-02 18:22:57 +03:00
|
|
|
{{template "layout.html" .}}
|
|
|
|
|
|
|
|
{{define "title"}}{{ title .Name }}{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
|
|
|
<h3>{{ title .Name }}</h3>
|
2022-05-06 16:40:45 +03:00
|
|
|
<p>{{ .Form }} by {{ hf .AuthorHfid }}</p>
|
2022-05-03 22:39:00 +03:00
|
|
|
{{- if ne .FormId -1 }}
|
|
|
|
<p>
|
|
|
|
an example of
|
|
|
|
{{- if eq .Form.String "musical composition" }}
|
|
|
|
{{ musicalForm .FormId }}
|
|
|
|
{{- else if eq .Form.String "choreography" }}
|
|
|
|
{{ danceForm .FormId }}
|
|
|
|
{{- else }}
|
|
|
|
{{ poeticForm .FormId }}
|
|
|
|
{{- end }}
|
|
|
|
</p>
|
|
|
|
{{- end }}
|
2022-05-02 18:22:57 +03:00
|
|
|
<div class="row">
|
|
|
|
{{- if ne 0 (len .Reference) }}
|
|
|
|
<div class="col-md-9">
|
|
|
|
<h5>References</h5>
|
|
|
|
<ul>
|
|
|
|
{{- range .Reference }}
|
|
|
|
<li> {{ .Html (context $) }}</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if ne 0 (len .Style) }}
|
|
|
|
<div class="col-3">
|
|
|
|
<h5>Style</h5>
|
|
|
|
<ul>
|
|
|
|
{{- range .Style }}
|
|
|
|
<li> {{ . }}</li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="mt-3">Events</h5>
|
|
|
|
{{ template "events.html" events . }}
|
|
|
|
|
|
|
|
<p>{{ json . }}</p>
|
|
|
|
{{- end }}
|