{{template "layout.html" .}} {{define "title"}}{{ title .Name }}{{end}} {{define "content"}}

{{ title .Name }}

{{ .Race }} {{ .Type }}
Sites
{{- range $i, $s := .Sites }} {{- end }}
{{ site $s.Id }} {{ template "events.html" events (history $s.Id) }}
{{- if ne 0 (len .Sites) }} {{- end }}

Events

{{ template "events.html" events . }}

{{ json . }}

{{- end }}