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 @@ })(); - +