{{template "layout.html" .}} {{define "title"}}Year {{(index . 0).Year}}{{end}} {{define "content"}}

Year {{(index . 0).Year}}

Events
{{ template "events.html" events . }} {{- end }}