{{ define "main" }}
{{ if isset .Data "Term" }}

{{ .Data.Singular | title }} - "{{ .Data.Term }}"

{{ else }}

{{ .Title }}

{{ end }}
{{ range .Data.Pages.GroupByDate "2006" }}

{{ .Key }}

{{ range .Pages }} {{ partial "item.html" . }} {{ end }} {{ end }}
{{ end }}