Format template
This commit is contained in:
@@ -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 }}
|
||||||
|
Reference in New Issue
Block a user