内置页面

reco_luan2023-06-29

TIP

主题内置了一些页面,这些页面是承载了特定功能的独立页面,可以用于丰富站点的功能,比如可以将页面入口放在 navabr 上。

博客列表页面

  • 路由:/posts.html
  • 描述:独立的博客列表页,给文档站提供一个通过博客跟用户互动的能力
  • 案例: image

时间轴页面

  • 路由:/timeline.html
  • 描述:博客的时间轴,可以作为归档页面
  • 案例: image

友情链接

  • 路由:/friendship-link.html
  • 描述:友情链接
  • 案例: image
  • 配置:
    import { defineUserConfig } from 'vuepress'
    import { recoTheme } from 'vuepress-theme-reco'
    
    export default defineUserConfig({
      theme: recoTheme({
        friendshipLinks: [
          {
            title: 'vuepress-recovuepress-recovuepress-recovuepress-reco',
            logo: 'https://avatars.githubusercontent.com/u/54167020?s=200&v=4',
            link: 'https://github.com/vuepress-reco'
          }
        ]
      })
    })
    
最后更新时间 4/30/2024, 3:55:36 AM