diff --git a/v4/layouts/_default/baseof.html b/v4/layouts/_default/baseof.html index f26aec365..234547ba4 100644 --- a/v4/layouts/_default/baseof.html +++ b/v4/layouts/_default/baseof.html @@ -85,7 +85,7 @@ {{ end }} - {{ if .Site.Params.enableLightDarkMode | default false }} + {{ if .Site.Params.enableLightDarkTheme | default false }} {{ partial "check-theme-prefer.html" . }} {{ end }} diff --git a/v4/layouts/partials/giscus.html b/v4/layouts/partials/giscus.html index ee76948ac..0ab6bc004 100644 --- a/v4/layouts/partials/giscus.html +++ b/v4/layouts/partials/giscus.html @@ -16,7 +16,7 @@ crossorigin="{{ .Site.Params.giscusCrossOrigin }}" async> -{{ if .Site.Params.enableLightDarkMode | default false }} +{{ if .Site.Params.enableLightDarkTheme | default false }}