Skip to content

Commit

Permalink
feat(content): add CC BY-NC-ND 4.0 copyright statement to article
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbenben committed Mar 30, 2024
1 parent f4e5bad commit 0321f30
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: `
版权声明:自由转载 - 非商用 - 非衍生 - 保持署名<a href="https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh-hans" target="_blank" rel="noopener noreferrer">(创意共享 4.0 许可证)</a>|
Copyright © 2023-present LearnData</a>
`,
displayFooter: true,
// 页脚,支持使用 HTMLString 以显示备案信息等
// footer: `CC BY-NC-ND 4.0 Licensed`,

// 是否全局启用路径导航
breadcrumb: false,

Expand Down Expand Up @@ -53,12 +64,6 @@ export default hopeTheme({
// 侧边栏排序规则
// sidebarSorter: ['readme', 'order', 'title'],

// copyright 默认为 Copyright © <作者>
copyright: `Copyright © 2023-present <a href="https://newzone.top/" target="_blank" rel="noopener noreferrer">LearnData 开源笔记</a>`,
displayFooter: true,
// 页脚,支持使用 HTMLString 以显示备案信息等
// footer: `MIT Licensed`,

// 页面布局 Frontmatter 配置:https://theme-hope.vuejs.press/zh/config/frontmatter/layout.html#pageinfo
pageInfo: ["Category", "Tag", "Word", "ReadingTime", "PageView"],

Expand Down

0 comments on commit 0321f30

Please sign in to comment.