diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index db2f195..ff5416e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -51,7 +51,7 @@ {{ "" | safeHTML }} - {{ if not .Site.Params.sidebar.hide }} + {{ if and (.Site.Params.sidebar) (not .Site.Params.sidebar.hide) }} {{ partial "sidebar.html" . }} {{ end }}