diff --git a/repos/.vitepress/config/theme.ts b/repos/.vitepress/config/theme.ts index 96eefab03..b74acbad2 100644 --- a/repos/.vitepress/config/theme.ts +++ b/repos/.vitepress/config/theme.ts @@ -33,7 +33,8 @@ export const themeConfig: DefaultTheme.Config = { // 自定义扩展: 页脚配置 footerConfig: { showFooter: true, // 是否显示页脚 - recordNo: '津ICP备2022005864号-2', // 备案信息 + icpRecordNo: '津ICP备2022005864号-2', // ICP备案号 + // publicSecurityRecordNo: '', // 公安备案号 copyright: `Copyright © 2019-${new Date().getFullYear()} Charles7c` // 版权信息 }, // 自定义扩展: 文章元数据配置 diff --git a/repos/.vitepress/theme/components/Copyright.vue b/repos/.vitepress/theme/components/Copyright.vue deleted file mode 100644 index caab505a0..000000000 --- a/repos/.vitepress/theme/components/Copyright.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - - \ No newline at end of file diff --git a/repos/.vitepress/theme/components/Footer.vue b/repos/.vitepress/theme/components/Footer.vue new file mode 100644 index 000000000..60575afa6 --- /dev/null +++ b/repos/.vitepress/theme/components/Footer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/repos/.vitepress/theme/components/MyLayout.vue b/repos/.vitepress/theme/components/MyLayout.vue index 1c519d050..c4ef586c7 100644 --- a/repos/.vitepress/theme/components/MyLayout.vue +++ b/repos/.vitepress/theme/components/MyLayout.vue @@ -4,7 +4,7 @@ @@ -13,7 +13,7 @@ import DefaultTheme from 'vitepress/theme' import { useData } from 'vitepress' import Comment from './Comment.vue' -import Copyright from './Copyright.vue' +import Footer from './Footer.vue' const { Layout } = DefaultTheme const { theme, frontmatter } = useData() diff --git a/repos/public/img/badge/gongan.png b/repos/public/img/badge/gongan.png new file mode 100644 index 000000000..b55b24550 Binary files /dev/null and b/repos/public/img/badge/gongan.png differ