diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index a40437731..75b4c3272 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -5,16 +5,27 @@ import sidebar from "./sidebar"; export default hopeTheme({ // 主题选项:https://theme-hope.vuejs.press/zh/config/theme/layout.html hostname: "https://newzone.top", - iconAssets: "iconfont", - author: { name: "清顺", url: "https://newzone.top", }, + favicon: "/favicon.ico", logo: "/logo.svg", + // 网站文章的版权声明 + license: "CC BY-NC-ND 4.0", + + // copyright 默认为 Copyright © <作者> + copyright: ` + 版权声明:自由转载 - 非商用 - 非衍生 - 保持署名(创意共享 4.0 许可证)| + Copyright © 2023-present LearnData + `, + displayFooter: true, + // 页脚,支持使用 HTMLString 以显示备案信息等 + // footer: `CC BY-NC-ND 4.0 Licensed`, + // 是否全局启用路径导航 breadcrumb: false, @@ -53,12 +64,6 @@ export default hopeTheme({ // 侧边栏排序规则 // sidebarSorter: ['readme', 'order', 'title'], - // copyright 默认为 Copyright © <作者> - copyright: `Copyright © 2023-present LearnData 开源笔记`, - displayFooter: true, - // 页脚,支持使用 HTMLString 以显示备案信息等 - // footer: `MIT Licensed`, - // 页面布局 Frontmatter 配置:https://theme-hope.vuejs.press/zh/config/frontmatter/layout.html#pageinfo pageInfo: ["Category", "Tag", "Word", "ReadingTime", "PageView"],