Skip to content

Commit

Permalink
feat: add example configuration for footer
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbenben committed Dec 8, 2023
1 parent bee8536 commit eb7c7d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ export default hopeTheme({
// 侧边栏排序规则
// sidebarSorter: ['readme', 'order', 'title'],

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

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

0 comments on commit eb7c7d2

Please sign in to comment.