hugo_idunn/layouts/partials/sections.html

15 lines
260 B
HTML
Raw Permalink Normal View History

2020-04-27 16:49:21 +02:00
{{ $items := (where $.Site.RegularPages "Type" "sections") }}
{{ $len := (len $items) }}
{{ range $i, $e := $items }}
{{ partial "section.html" .}}
{{ if ne (add $i 1) $len }}
<div class="separator">
<img src="/svg/circle.svg"/>
</div>
{{ end }}
{{ end}}