{{ define "body-class" }}template-archives{{ end }} {{ define "main" }} {{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}} {{- $terms := $taxonomy.Pages -}} {{ if $terms }} {{ T "widget.categoriesCloud.title" }} {{ range $terms }} {{ partial "article-list/tile" . }} {{ end }} {{ end }} {{ $pages := partial "helper/pages.html" .Site.Home }} {{ range $pages.GroupByDate "2006" }} {{ $id := lower (replace .Key " " "-") }}