Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsKanoodle <sKanoodle@users.noreply.github.com>2019-04-08 15:38:09 +0300
committerGitHub <noreply@github.com>2019-04-08 15:38:09 +0300
commiteeab26acd11ff6bbf633ffe6e3209e5c9a9ba89a (patch)
treec7dad03f539b2f755049273f3999cd92371771f2
parent2147d1dfd9f8daf384924ea5c4e126c5ee5b4f45 (diff)
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
-rw-r--r--layouts/_default/baseof.html4
1 files 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 @@
</body>
-</html> \ No newline at end of file
+</html>