{{ define "body-class" }}template-archives template-search{{ end }} {{ define "head" }} {{- with .OutputFormats.Get "json" -}} {{- end -}} {{ 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 " " "-") }}

{{ .Key }}

{{ range .Pages }} {{ partial "article-list/compact" . }} {{ end }}
{{ end }} {{ partialCached "footer/footer" . }} {{- $opts := dict "minify" hugo.IsProduction -}} {{- $archivesScript := resources.Get "ts/archives.ts" | js.Build $opts -}} {{ end }} {{ define "right-sidebar" }} {{ partial "sidebar/right.html" (dict "Context" . "Scope" "homepage") }} {{ end }}