Skip to content

Commit

Permalink
fix the parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
atsuyaw committed Nov 26, 2023
1 parent bed1a1c commit 5153a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v4/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<link rel="canonical" href="{{ .Permalink }}">
{{ end }}

{{ if .Site.Params.enableLightDarkMode | default false }}
{{ if .Site.Params.enableLightDarkTheme | default false }}
{{ partial "check-theme-prefer.html" . }}
{{ end }}

Expand Down
2 changes: 1 addition & 1 deletion v4/layouts/partials/giscus.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
crossorigin="{{ .Site.Params.giscusCrossOrigin }}"
async>
</script>
{{ if .Site.Params.enableLightDarkMode | default false }}
{{ if .Site.Params.enableLightDarkTheme | default false }}
<script class="giscusThemeSwitcher">
const lightDarkToggle = document.getElementById("light-dark-toggle");
function handleGiscusMessage(event) {
Expand Down

0 comments on commit 5153a7e

Please sign in to comment.