{{- define "title" }} {{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") }} | {{ .Site.Title -}} {{- end -}} {{- define "content" -}}
{{- /* Title */ -}}

{{- .Params.Title | default (T .Section) | default .Section | printf (T "allSome") -}}

{{- /* Paginate */ -}} {{- $pages := .Pages.GroupByDate "2006" -}} {{- with .Site.Params.section.paginate | default .Site.Params.paginate -}} {{- $pages = $.Paginate $pages . -}} {{- else -}} {{- $pages = .Paginate $pages -}} {{- end -}} {{- range $pages.PageGroups -}}

{{ .Key }}

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