Format template

master
Will Faught 3 years ago
parent cfc3a14b09
commit 2e1c02ddc6

@ -1,5 +1,7 @@
{{ $item := . }} {{ $item := . }}
{{ if .IsHome }}{{ $item = .Site }}{{ end }} {{ if .IsHome }}
{{ $item = .Site }}
{{ end }}
{{ $pages := slice }} {{ $pages := slice }}
{{ if or $.IsHome $.IsSection }} {{ if or $.IsHome $.IsSection }}
{{ $pages = $item.RegularPages }} {{ $pages = $item.RegularPages }}

Loading…
Cancel
Save