diff --git a/layouts/partials/sections/header.html b/layouts/partials/sections/header.html index 3bbab84d..d44336fd 100644 --- a/layouts/partials/sections/header.html +++ b/layouts/partials/sections/header.html @@ -1,5 +1,5 @@ {{- /* theme-toggle is enabled */}} -{{- if (not .Site.Params.theme.disableThemeToggle) }} +{{- if (not .Site.Params.theme.disableThemeToggle | default false) }} {{- /* theme is auto */}}