{{ define "main" }} /~/: blog {{ $pages := .Pages }} {{ range $pages }} /{{ .Date.Format "2006.01.02" }}/: {{ .Title }} {{ end }} {{ end }}