diff options
-rw-r--r-- | layouts/_default/baseof.html | 4 |
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> |