We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0dbe95 commit 76cb167Copy full SHA for 76cb167
content/zh/post/2024/hugo评论组件自适应博客暗黑主题.md
@@ -1,7 +1,7 @@
1
+++
2
title = "Hugo评论系统自适应博客主题: 支持dark与light theme"
3
date = 2024-12-04T13:25:00+08:00
4
-lastmod = 2024-12-04T14:27:41+08:00
+lastmod = 2024-12-04T14:33:02+08:00
5
tags = ["blog", "hugo"]
6
categories = ["blog", "hugo"]
7
draft = false
@@ -52,7 +52,7 @@ console.log(isDarkMode ? 'dark' : 'light');
52
</body>
53
```
54
55
-dark theme 的时候 `class` 就变为了 `class`"dark"=:
+dark theme 的时候 `class` 就变为了 `class="dark"`:
56
57
```css
58
<body id = "top" class="">
0 commit comments