First commit of the theme
This commit is contained in:
commit
360f7ecd96
24 changed files with 525 additions and 0 deletions
14
layouts/partials/sections.html
Normal file
14
layouts/partials/sections.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ $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}}
|
Loading…
Add table
Add a link
Reference in a new issue