aboutsummaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authoryingyu5658 <yingyu5658@outlook.com>2025-08-03 14:13:12 +0800
committeryingyu5658 <yingyu5658@outlook.com>2025-08-03 14:13:12 +0800
commit0a9723c301af5e13adbc9c7181d9b43c50663466 (patch)
tree0ba0fd8ebd608abfd8149278fc75dbdcf7e33f6d /layouts
parent0e061e76a956f7ac879544937b5b95c04815ad24 (diff)
downloadhugo-theme-concise-0a9723c301af5e13adbc9c7181d9b43c50663466.tar.gz
hugo-theme-concise-0a9723c301af5e13adbc9c7181d9b43c50663466.zip
添加自动切换暗色模式
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 696928e..5710089 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1 +1,5 @@
-<h1 class="title">{{ site.Title }}</h1> <p class="subtitle">yingyu5658的数字花园</p> {{ partial "menu.html" (dict "menuID" "main" "page" .) }}
+<h1 class="title">{{ site.Title }}</h1>
+<p class="subtitle">yingyu5658的数字花园</p>
+<script>
+</script>
+{{ partial "menu.html" (dict "menuID" "main" "page" .) }}