From 904f9f40c46ebd0e42925a8ed0879a8a59b62ec2 Mon Sep 17 00:00:00 2001
From: Vaica <94612053+zqlit@users.noreply.github.com>
Date: Thu, 22 Jan 2026 13:16:50 +0800
Subject: [PATCH] =?UTF-8?q?fixed=20=E7=BC=96=E8=BE=91=E5=99=A8=E5=AE=9E?=
=?UTF-8?q?=E7=8E=B0=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hugo.toml | 3 +-
themes/Ying/layouts/partials/head.html | 2 +-
themes/Ying/static/css/main.css | 154 ++++++++++++++++++-------
themes/Ying/static/js/main.js | 31 +++++
themes/Ying/static/js/mypjax.js | 2 +
5 files changed, 151 insertions(+), 41 deletions(-)
diff --git a/hugo.toml b/hugo.toml
index ee9416d2..4aa2f1b0 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -15,7 +15,8 @@ HasCJKLanguage = true
#hugo代码高亮显示
[markup]
[markup.highlight]
- style = 'tango'
+ style = 'dracula'
+ noClasses = true
# 自定义文章固定链接:使用 slug 作为文件名(如 /20260117.html)
[permalinks]
diff --git a/themes/Ying/layouts/partials/head.html b/themes/Ying/layouts/partials/head.html
index 0d587cdb..5e4e0f32 100644
--- a/themes/Ying/layouts/partials/head.html
+++ b/themes/Ying/layouts/partials/head.html
@@ -22,12 +22,12 @@
})();
-
+