{{ define "title" -}}
{{ .Title | title }}
{{- end }}
{{ define "main" -}}
{{ .Content }}
{{- range.Pages }}
{{- if .Param "datesinlist" }} – {{ end -}}
{{ .Title }}
{{- if .Param "authorsinlist" }}
{{ with .Params.authors }}
by
{{ delimit . ", " " and " }}
{{end}}
{{ end -}}