{{ define "main" }}

{{.Title}}

{{.Content}}
{{ range .Pages }}
{{ .Page.Title }} — {{ if isset .Params "publishdate" }} {{.PublishDate.Format "2006-01-02"}} {{ end }}
{{ end }}
{{ end }}