{{ 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 }} {{ $notHidden := where .Site.RegularPages "Params.hidden" "!=" true }} {{ $filtered := ($pages | intersect $notHidden) }} {{ range $filtered.GroupByDate "2006" }} {{ $id := lower (replace .Key " " "-") }}

{{ .Key }}

{{ range .Pages }} {{ partial "article-list/compact" . }} {{ end }}
{{ end }} {{ partialCached "footer/footer" . }} {{ end }}