删除:移除扩展默认主题的Copyright组件,官方已经调整了footer配置的渲染,该组件的意义也就不存在了

This commit is contained in:
2022-07-22 23:56:30 +08:00
parent 92cc6fb8af
commit 76de6a065b
5 changed files with 4 additions and 70 deletions

View File

@@ -15,11 +15,10 @@ export const themeConfig: DefaultTheme.Config = {
pattern: 'https://github.com/Charles7c/charles7c.github.io/edit/main/repos/:path',
text: '在 GitHub 上编辑此页面'
},
// 页脚配置, 由于vitepress官方没有此计划, 所以自行定制
footerConfig: {
showFooter: true, // 是否显示页脚
// 页脚配置
footer: {
message: `<a href="https://beian.miit.gov.cn/" target="_blank">京ICP备20003712号-2</a>`, // 备案信息
copyright : `Copyright © 2019-${new Date().getFullYear()} Charles7c` // 版权信息
copyright: `Copyright © 2019-${new Date().getFullYear()} Charles7c` // 版权信息
},
// 全文搜索
algolia: {