{{ define "main" }} {{ .Scratch.Set "scope" "list" }} {{ if .Site.Params.term.showHero | default false }} {{ $heroStyle := print "partials/hero/" .Site.Params.term.heroStyle ".html" }} {{ if templates.Exists $heroStyle }} {{ partial $heroStyle . }} {{ else }} {{ partial "partials/hero/basic.html" . }} {{ end }} {{- end -}} {{ $toc := and (.Params.showTableOfContents | default (.Site.Params.term.showTableOfContents | default false)) (in .TableOfContents " {{ if .Params.showBreadcrumbs | default (.Site.Params.term.showBreadcrumbs | default false) }} {{ partial "breadcrumbs.html" . }} {{ end }}

{{ .Title }}

{{ partial "article-meta-term.html" (dict "context" . "scope" "single") }}
{{ if .Content }}
{{ .Content | emojify }}
{{ $jsPage := resources.Get "js/page.js" }} {{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
{{ end }}
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}

{{ .Key }}


{{ end }} {{ range .Pages }} {{ partial "article-link.html" . }} {{ end }} {{ end }}
{{ partial "pagination.html" . }} {{ end }}