{{ define "body-class" }}template-archives{{ end }} {{ define "main" }} {{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}} {{- $terms := $taxonomy.Pages -}} {{ if $terms }} {{ $taxonomy.Title }} {{ range $terms }} {{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "taxonomy") }} {{ end }} {{ end }} {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ range $pages.GroupByDate "2006" }} {{ $id := lower (replace .Key " " "-") }}