{{ define "main" }}

{{ .Title }}

{{ with .Content }} {{ . }} {{ end }} {{ if .Parent.IsHome }} {{ $.Scratch.Set "blog-pages" (where .Site.RegularPages "Section" .Section) }} {{ else }} {{$.Scratch.Set "blog-pages" .Pages }} {{ end }} {{ $pag := .Paginate (( $.Scratch.Get "blog-pages").GroupByPublishDate "2006")}} {{ range $pag.PageGroups }} {{ if ne .Key "0001" }}

{{ T "post_posts_in" }} {{ .Key }}

{{ else }}

Docs

{{ end }} {{ end }} {{ partial "pagination.html" . }} {{ end }}