{{ define "main" }}
{{ if .Title }}

{{ .Title }}

{{ .Content }} {{ partial "icon.html" "rss" }} Пописка {{ end }}
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ $notHidden := where .Site.RegularPages "Params.hidden" "!=" true }} {{ $filtered := ($pages | intersect $notHidden) }} {{ $pag := .Paginate ($filtered) }} {{ $paginator := .Paginate .Pages 7 }} {{ range $paginator.Pages }} {{ partial "list.html" . }} {{ end }}
{{ end }}