From 5153a7ea1521606a7d1c630e22dac8a649562a8e Mon Sep 17 00:00:00 2001 From: atsuyaw Date: Sun, 26 Nov 2023 15:45:48 +0900 Subject: [PATCH] fix the parameter name --- v4/layouts/_default/baseof.html | 2 +- v4/layouts/partials/giscus.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}