aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/partials/sections.html
blob: eda7fd299811a9ffe70f3973e6c752656b8f6975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ $items := (where $.Site.RegularPages "Type" "sections") }}
{{ $len := (len $items) }}

{{ range $i, $e := $items }}
{{ partial "section.html" . }}

{{ if ne (add $i 1) $len }}

{{ if $.Site.Params.separator.show }}
{{ partial "separator.html" . }}
{{ end  }}

{{ end }}
{{ end}}