From eeab26acd11ff6bbf633ffe6e3209e5c9a9ba89a Mon Sep 17 00:00:00 2001 From: sKanoodle Date: Mon, 8 Apr 2019 14:38:09 +0200 Subject: 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 --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 608fea2..79eede4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,7 +27,7 @@ {{ partial "header.html" . }} {{ $displaySidebar := false }} - {{ range site.Params.mainSections }} + {{ range .Site.Params.mainSections }} {{ if eq $.Section . }} {{ $displaySidebar = true }} {{ end }} @@ -70,4 +70,4 @@ - \ No newline at end of file + -- cgit v1.2.3