{{ if and .IsPage (eq .Params.toc true) }}
TableOfContents
{{ .TableOfContents }}
{{ end }}
{{ i18n "latestposts" }}
    {{ range first 10 (where (where .Site.Pages "Type" "post") "IsPage" true) }}
  • {{ .Title }}
  • {{ end }}
{{ range $key, $value := .Site.Taxonomies }} {{ $len := len $value }} {{ if (not ( eq $len 0 ) ) }}
{{ $key | singularize }}
    {{ range first 10 $value.ByCount }}
  • {{ .Name }}
  • {{ end }}
{{ end }} {{ end }}