U:调整文章版权

This commit is contained in:
jimmy committed 2025-04-10 18:15:11 +08:00
1 parent 951f3cb8ef
commit 398f1befed
3 files changed
+23 -9

No files matched your search

+10 -4
View File
@@ -1,5 +1,5 @@
import { defineConfig } from 'vitepress'
import markdownItFootnote from 'markdown-it-footnote';
import markdownItFootnote from 'markdown-it-footnote'
import shared from './shared'
import zh from './zh'
@@ -9,10 +9,16 @@ export default defineConfig({
locales: {
root: { label: '简体中文', ...zh },
},
themeConfig: {
footer: {
message: '本站除转载文章或特殊说明外,均遵循 <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" target="_blank" rel="noopener">CC BY-SA 4.0</a> 协议发布。',
copyright: '© 2021-2025 <a href="https://duyl328.github.io/" target="_blank" rel="noopener">duyl328</a> ',
},
},
markdown: {
config: (md) => {
// 添加脚注
md.use(markdownItFootnote);
}
}
md.use(markdownItFootnote)
},
},
})