{{ define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end }} {{ define "content" }} {{ $taxonomy := .Data.Singular }} {{ $taxonomyName := $taxonomy }} {{ if eq $taxonomy "tag"}} {{ $taxonomyName = (T "tag") }} {{ else if eq $taxonomy "category"}} {{ $taxonomyName = (T "category") }} {{ end }}

{{- printf "%s - %s" $taxonomyName .Title -}}

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

{{ .Key }}

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