{{ define "title" }}{{ T "posts" }} - {{ .Site.Title }}{{ end -}} {{ define "content" -}} {{ $data := .Data -}}

{{ printf "- %s -" (T "posts") }}

{{- range (.Paginate (.Pages.GroupByDate "2006")).PageGroups -}}

{{ .Key }}

{{- range .Pages -}}
{{ .Title }} {{- .Date.Format (.Site.Params.dateFormatToUse | default "01-02") -}}
{{- end -}} {{- end -}} {{- partial "paginator.html" . -}}
{{- end }}