examples/wikidata/templates/index.html
{{ template "base" . }}
{{ define "title" }}{{ (index . 0).title }}{{ end }}
{{ define "content" }}
<h1>Works by {{ (index . 0).title }}</h1>
<ul>
{{ range . }}
<li><a href="works/{{ (index . "qid") }}.html">{{ .workLabel }}</a></li>
{{ end }}
</ul>
{{ end }}