{{ if .Sections }} {{ range .Sections }}

{{ .Title }}

{{/*}}

{{ if .Description }}{{ .Description | markdownify }}{{ end }}

{{*/}} {{ if and (eq .Site.Params.useSectionPageLists "true") (.Pages) }}
    {{ range first 5 .Pages.ByWeight }}
  • {{ .Title }}
  • {{ end }} {{ if gt .Pages "5" }}
  • More...
  • {{ end }}
{{ end }}
{{ end }} {{ end }} {{ range (.Paginate ( where .Pages.ByWeight ".Kind" "!=" "section" )).Pages }}

{{ .Title }}

{{/*}}

{{ if .Description }} {{ .Description | markdownify }}{{ end }}

{{*/}}
{{ end }}
{{ if not .IsHome }}
{{ partial "pagination.html" . }}
{{ end }}