Format template

This commit is contained in:
Will Faught
2022-12-13 20:47:16 -08:00
parent cfc3a14b09
commit 2e1c02ddc6

View File

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