mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
fixed typo that prevented build from succeeding
Error: "themes\hugo-whisper-theme\layouts\_default\baseof.html:30:1": parse master failed: template: index.html:30: function "site" not defined
This commit is contained in:
parent
2147d1dfd9
commit
eeab26acd1
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
{{ $displaySidebar := false }}
|
{{ $displaySidebar := false }}
|
||||||
{{ range site.Params.mainSections }}
|
{{ range .Site.Params.mainSections }}
|
||||||
{{ if eq $.Section . }}
|
{{ if eq $.Section . }}
|
||||||
{{ $displaySidebar = true }}
|
{{ $displaySidebar = true }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue