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

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

{{ if ne (add $i 1) $len }}
{{ partial "separator.html" . }}
{{ end }}
{{ end}}