Skip to content

Runtime API Examples

This page demonstrates usage of some of the runtime APIs provided by VitePress.

The main useData() API can be used to access site, theme, and page data for the current page. It works in both .md and .vue files:

md
<script setup>
import { useData } from 'vitepress'

const { theme, page, frontmatter } = useData()
</script>

## Results

### Theme Data
<pre>{{ theme }}</pre>

### Page Data
<pre>{{ page }}</pre>

### Page Frontmatter
<pre>{{ frontmatter }}</pre>

Results

Theme Data

{
  "blogger": {
    "avatar": "/img/xyy.webp",
    "shape": "circle-rotate",
    "name": "One",
    "slogan": "明心静性,爱自己",
    "circleBgImg": "/img/bg/14.webp",
    "circleBgMask": false,
    "color": "#fff"
  },
  "category": {
    "enabled": true,
    "limit": 8,
    "autoPage": false,
    "pageSpeed": 4000
  },
  "tag": {
    "enabled": true,
    "limit": 21,
    "autoPage": false,
    "pageSpeed": 4000
  },
  "topArticle": {
    "enabled": true,
    "limit": 5,
    "autoPage": false,
    "pageSpeed": 4000,
    "dateFormat": "yyyy-MM-dd"
  },
  "themeSize": "large",
  "docAnalysis": {
    "createTime": "2021-10-19",
    "statistics": {
      "provider": "busuanzi"
    },
    "wordCount": true,
    "readingTime": true,
    "appendInfo": [
      {
        "key": "index",
        "label": "序号",
        "value": "One"
      }
    ]
  },
  "riskLink": {
    "enabled": true,
    "whitelist": [
      "https://onedayxyy.cn/",
      "https://vp.teek.top/",
      "https://teek.seasir.top/",
      {},
      {}
    ],
    "blacklist": []
  },
  "codeBlock": {
    "disabled": false,
    "collapseHeight": 700
  },
  "post": {
    "showCapture": false
  },
  "articleShare": {
    "enabled": true
  },
  "articleAnalyze": {
    "imageViewer": {
      "hideOnClickModal": true
    },
    "showIcon": true,
    "dateFormat": "yyyy-MM-dd",
    "showInfo": true,
    "showAuthor": true,
    "showCreateDate": true,
    "showUpdateDate": true,
    "showCategory": true,
    "showTag": true,
    "teleport": {
      "selector": "h1",
      "position": "after",
      "className": "h1-bottom-info"
    }
  },
  "comment": {
    "provider": "twikoo",
    "options": {
      "envId": "https://twikoo.onedayxyy.cn/",
      "version": "1.6.41"
    }
  },
  "notice": {
    "enabled": true,
    "title": "公告",
    "initOpen": true,
    "duration": 3000,
    "mobileMinify": false,
    "reopen": true,
    "useStorage": true,
    "twinkle": false,
    "position": "center"
  },
  "siteAnalytics": [
    {
      "provider": "baidu",
      "options": {
        "id": "d5ee872d9aa1ef8021f4a3921b2e9c2a"
      }
    },
    {
      "provider": "google",
      "options": {
        "id": "G-K5GNDW3L7K"
      }
    }
  ],
  "appreciation": {
    "position": "doc-after",
    "options": {
      "icon": "weChatPay",
      "expandTitle": "打赏支持",
      "collapseTitle": "下次一定",
      "content": "<img src='/img/alipay/1.png'><img src='/img/alipay/2.png'>",
      "expand": false
    }
  },
  "logo": "/favicon.ico",
  "darkModeSwitchLabel": "主题",
  "sidebarMenuLabel": "菜单",
  "returnToTopLabel": "返回顶部",
  "lastUpdatedText": "上次更新时间",
  "outline": {
    "level": [
      2,
      4
    ],
    "label": "本页导航"
  },
  "docFooter": {
    "prev": "上一页",
    "next": "下一页"
  },
  "nav": [
    {
      "text": "🏡首页",
      "link": "/"
    },
    {
      "text": "🗃️笔记",
      "items": [
        {
          "text": "运维",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/linux.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Linux</span>\n                </div>\n                ",
              "link": "/linux",
              "activeMatch": "20.文档/01.linux"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/nginx.png\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Nginx</span>\n                </div>\n                ",
              "link": "/nginx",
              "activeMatch": "20.文档/05.nginx"
            }
          ],
          "activeMatch": "20.文档"
        },
        {
          "text": "前端",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/html.png\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Html</span>\n                </div>\n                ",
              "link": "/html",
              "activeMatch": "20.文档/10.Html"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/css.png\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Css</span>\n                </div>\n                ",
              "link": "/css",
              "activeMatch": "20.文档/15.css"
            }
          ],
          "activeMatch": "20.文档"
        },
        {
          "text": "编程",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/python.png\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Python</span>\n                </div>\n                ",
              "link": "/python",
              "activeMatch": "20.文档/20.python"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/go.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Go</span>\n                </div>\n                ",
              "link": "/go",
              "activeMatch": "20.文档/25.go"
            }
          ],
          "activeMatch": "20.文档"
        },
        {
          "text": "专题",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/博客.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>博客搭建</span>\n                </div>\n                ",
              "link": "/blog",
              "activeMatch": "20.文档/30.博客搭建"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/前端demo.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>前端demo</span>\n                </div>\n                ",
              "link": "/qianduan-demo",
              "activeMatch": "20.文档/35.前端demo"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/Git.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Git</span>\n                </div>\n                ",
              "link": "/git",
              "activeMatch": "20.文档/40.git"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/面试.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>面试</span>\n                </div>\n                ",
              "link": "/mianshi",
              "activeMatch": "20.文档/45.面试"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/NAS.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>NAS</span>\n                </div>\n                ",
              "link": "/NAS",
              "activeMatch": "20.文档/50.NAS"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/脚本.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>脚本</span>\n                </div>\n                ",
              "link": "/jiaoben",
              "activeMatch": "20.文档/55.脚本"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/工具.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>工具</span>\n                </div>\n                ",
              "link": "/tools",
              "activeMatch": "20.文档/60.工具"
            }
          ],
          "activeMatch": "20.文档"
        },
        {
          "text": "开源项目",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/teek.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Teek-one</span>\n                </div>\n                ",
              "link": "/teek",
              "activeMatch": "20.文档/65.Teek-one"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/Typora.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>Typora-one</span>\n                </div>\n                ",
              "link": "/typora-theme-one",
              "activeMatch": "20.文档/70.Typora-One"
            }
          ],
          "activeMatch": "20.文档"
        }
      ]
    },
    {
      "text": "🏓生活",
      "items": [
        {
          "text": "娱乐",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/相册.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>相册</span>\n                </div>\n                ",
              "link": "https://photo.onedayxyy.cn/"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/电影.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>电影</span>\n                </div>\n                ",
              "link": "/movie",
              "activeMatch": "20.文档/80.电影"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/音乐.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>音乐</span>\n                </div>\n                ",
              "link": "/music",
              "activeMatch": "20.文档/75.音乐"
            }
          ],
          "activeMatch": "20.文档"
        },
        {
          "text": "小屋",
          "items": [
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/精神小屋.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>精神小屋</span>\n                </div>\n                ",
              "link": "/love",
              "activeMatch": "20.文档/85.精神小屋"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/时间管理.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>时间管理</span>\n                </div>\n                ",
              "link": "/time-plan",
              "activeMatch": "20.文档/90.时间管理"
            },
            {
              "text": "\n                <div style=\"display: flex; align-items: center; gap: 4px;\">\n                  <img src=\"/img/nav/文案.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n                  <span>文案</span>\n                </div>\n                ",
              "link": "/wenan",
              "activeMatch": "20.文档/95.文案"
            }
          ],
          "activeMatch": "20.文档"
        }
      ]
    },
    {
      "text": "👏索引",
      "items": [
        {
          "text": "📃分类页",
          "link": "/categories",
          "activeMatch": "@pages/categoriesPage"
        },
        {
          "text": "🔖标签页",
          "link": "/tags",
          "activeMatch": "@pages/tagsPage"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/归档.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>归档页</span>\n            </div>\n            ",
          "link": "/archives",
          "activeMatch": "@pages/archivesPage"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/清单.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>清单页</span>\n            </div>\n            ",
          "link": "/articleOverview",
          "activeMatch": "@pages/articleOverviewPage"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/登录.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>登录页</span>\n            </div>\n            ",
          "link": "/login",
          "activeMatch": "@pages/loginPage"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/风险提示.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>风险链接提示页</span>\n            </div>\n            ",
          "link": "/risk-link?target=https://onedayxyy.cn/"
        }
      ],
      "activeMatch": "@pages"
    },
    {
      "text": "🍷关于",
      "items": [
        {
          "text": "👋关于我",
          "link": "/about-me",
          "activeMatch": "20.文档/100.关于我"
        },
        {
          "text": "🎉关于本站",
          "link": "/about-website",
          "activeMatch": "20.文档/105.关于本站"
        },
        {
          "text": "🌐网站导航",
          "link": "/websites",
          "activeMatch": "20.文档/110.网站导航"
        },
        {
          "text": "👂留言区",
          "link": "/liuyanqu",
          "activeMatch": "20.文档/115.留言区"
        },
        {
          "text": "💡思考",
          "link": "/thinking",
          "activeMatch": "20.文档/120.思考"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/时间轴.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>时间轴</span>\n            </div>\n            ",
          "link": "https://onedayxyy.cn/time-line/"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/网站统计.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>网站统计</span>\n            </div>\n            ",
          "link": "https://umami.onedayxyy.cn/share/DzS4g85V8JkxsNRk/onedayxyy.cn"
        },
        {
          "text": "\n            <div style=\"display: flex; align-items: center; gap: 4px;\">\n              <img src=\"/img/nav/站点监控.svg\" alt=\"\" style=\"width: 16px; height: 16px;\">\n              <span>站点监控</span>\n            </div>\n            ",
          "link": "https://status.onedayxyy.cn/status/monitor"
        }
      ],
      "activeMatch": "20.文档"
    }
  ],
  "socialLinks": [
    {
      "icon": {
        "svg": "<svg t=\"1743875298298\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2388\" width=\"200\" height=\"200\"><path d=\"M512 1024C229.2224 1024 0 794.7776 0 512S229.2224 0 512 0s512 229.2224 512 512-229.2224 512-512 512z m259.1488-568.8832H480.4096a25.2928 25.2928 0 0 0-25.2928 25.2928l-0.0256 63.2064c0 13.952 11.3152 25.2928 25.2672 25.2928h177.024c13.9776 0 25.2928 11.3152 25.2928 25.2672v12.6464a75.8528 75.8528 0 0 1-75.8528 75.8528H366.592a25.2928 25.2928 0 0 1-25.2672-25.2928v-240.1792a75.8528 75.8528 0 0 1 75.8272-75.8528h353.9456a25.2928 25.2928 0 0 0 25.2672-25.2928l0.0768-63.2064a25.2928 25.2928 0 0 0-25.2672-25.2928H417.152a189.6192 189.6192 0 0 0-189.6192 189.6448v353.9456c0 13.9776 11.3152 25.2928 25.2928 25.2928h372.9408a170.6496 170.6496 0 0 0 170.6496-170.6496v-145.408a25.2928 25.2928 0 0 0-25.2928-25.2672z\" fill=\"#C71D23\" p-id=\"2389\"></path></svg>"
      },
      "link": "https://gitee.com/onlyonexl/vitepress-theme-teek-one-public-simple"
    },
    {
      "icon": {
        "svg": "<svg t=\"1743875620187\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"16697\" width=\"200\" height=\"200\"><path d=\"M512 0A512 512 0 1 1 0 512 512 512 0 0 1 512 0z\" fill=\"#ff485f\" p-id=\"16698\" data-spm-anchor-id=\"a313x.search_index.0.i13.70183a81yTylfI\" class=\"selected\"></path><path d=\"M726.980923 295.384615H280.123077A63.606154 63.606154 0 0 0 216.615385 358.892308v295.187692a63.606154 63.606154 0 0 0 63.507692 63.507692h446.857846a63.606154 63.606154 0 0 0 63.507692-63.507692v-295.187692A63.606154 63.606154 0 0 0 726.980923 295.384615z m25.403077 358.715077a25.481846 25.481846 0 0 1-25.403077 25.403077H280.123077a25.481846 25.481846 0 0 1-25.403077-25.403077v-295.187692a25.481846 25.481846 0 0 1 25.403077-25.403077h446.857846a25.481846 25.481846 0 0 1 25.403077 25.403077z\" fill=\"#FFFFFF\" p-id=\"16699\"></path><path d=\"M693.720615 396.307692l-190.148923 119.965539-190.148923-119.965539a19.062154 19.062154 0 0 0-20.322461 32.236308l200.073846 126.247385a19.062154 19.062154 0 0 0 10.161231 2.934153h0.630153a19.062154 19.062154 0 0 0 10.161231-2.934153l200.073846-126.247385a19.101538 19.101538 0 1 0-20.48-32.236308z\" fill=\"#FFFFFF\" p-id=\"16700\"></path></svg>"
      },
      "link": "mailto:2675263825@qq.com"
    }
  ],
  "search": {
    "provider": "local"
  },
  "editLink": {
    "text": "在 GitHub 上编辑此页",
    "pattern": "https://github.com/Kele-Bingtang/vitepress-theme-teek/edit/master/docs/:path"
  },
  "sidebar": {
    "/": [
      {
        "text": "api-examples",
        "link": "/api-examples"
      },
      {
        "text": "markdown-examples",
        "link": "/markdown-examples"
      }
    ],
    "/01.指南/": [
      {
        "text": "简介",
        "items": [
          {
            "text": "简介",
            "link": "/01.指南/01.简介/01.简介"
          },
          {
            "text": "快速开始",
            "link": "/01.指南/01.简介/10.快速开始"
          },
          {
            "text": "结构化目录",
            "link": "/01.指南/01.简介/20.结构化目录"
          }
        ]
      },
      {
        "text": "使用",
        "items": [
          {
            "text": "Markdown 拓展",
            "link": "/01.指南/10.使用/05.Markdown 拓展"
          },
          {
            "text": "摘要与封面",
            "link": "/01.指南/10.使用/10.摘要与封面"
          },
          {
            "text": "主题增强",
            "link": "/01.指南/10.使用/15.主题增强"
          },
          {
            "text": "样式增强",
            "link": "/01.指南/10.使用/20.样式增强"
          },
          {
            "text": "国际化",
            "link": "/01.指南/10.使用/25.国际化"
          },
          {
            "text": "Vite 插件",
            "link": "/01.指南/10.使用/30.Vite 插件"
          },
          {
            "text": "站点统计",
            "link": "/01.指南/10.使用/35.站点统计"
          },
          {
            "text": "私密文章",
            "link": "/01.指南/10.使用/45.私密文章"
          }
        ]
      },
      {
        "text": "相关",
        "items": [
          {
            "text": "插槽布局",
            "link": "/01.指南/20.相关/02.插槽布局"
          },
          {
            "text": "路由钩子",
            "link": "/01.指南/20.相关/05.路由钩子"
          },
          {
            "text": "写作排版",
            "link": "/01.指南/20.相关/10.写作排版"
          },
          {
            "text": "鸣谢",
            "link": "/01.指南/20.相关/99.鸣谢"
          }
        ]
      },
      {
        "text": "开发",
        "items": [
          {
            "text": "开发指南",
            "link": "/01.指南/40.开发/01.开发指南"
          },
          {
            "text": "贡献指南",
            "link": "/01.指南/40.开发/05.贡献指南"
          }
        ]
      },
      {
        "text": "Teek原版优化记录",
        "link": "/01.指南/50.Teek原版优化记录"
      },
      {
        "text": "我的项目结构说明",
        "link": "/01.指南/60.我的项目结构说明"
      }
    ],
    "/10.配置/": [
      {
        "text": "主题配置",
        "items": [
          {
            "text": "配置简介",
            "link": "/10.配置/01.主题配置/01.配置简介"
          },
          {
            "text": "全局配置",
            "link": "/10.配置/01.主题配置/05.全局配置"
          },
          {
            "text": "Banner 配置",
            "link": "/10.配置/01.主题配置/10.Banner 配置"
          },
          {
            "text": "文章列表配置",
            "link": "/10.配置/01.主题配置/15.文章列表配置"
          },
          {
            "text": "卡片栏配置",
            "link": "/10.配置/01.主题配置/20.卡片栏配置"
          },
          {
            "text": "页脚配置",
            "link": "/10.配置/01.主题配置/25.页脚配置"
          },
          {
            "text": "文章配置",
            "link": "/10.配置/01.主题配置/30.文章配置"
          },
          {
            "text": "评论配置",
            "link": "/10.配置/01.主题配置/35.评论配置"
          },
          {
            "text": "插件配置",
            "link": "/10.配置/01.主题配置/40.插件配置"
          },
          {
            "text": "功能页配置",
            "link": "/10.配置/01.主题配置/50.功能页配置"
          }
        ]
      },
      {
        "text": "frontmatter 配置",
        "link": "/10.配置/10.frontmatter 配置"
      },
      {
        "text": "目录页配置",
        "link": "/10.配置/20.目录页配置"
      },
      {
        "text": "功能页配置",
        "link": "/10.配置/30.功能页配置"
      },
      {
        "text": "主题增强拓展",
        "link": "/10.配置/40.主题增强拓展"
      }
    ],
    "/15.主题开发/": [
      {
        "text": "开发思路",
        "link": "/15.主题开发/01.开发思路"
      },
      {
        "text": "主题配置",
        "link": "/15.主题开发/10.主题配置"
      },
      {
        "text": "目录结构",
        "link": "/15.主题开发/20.目录结构"
      },
      {
        "text": "组件结构",
        "link": "/15.主题开发/30.组件布局"
      },
      {
        "text": "样式布局",
        "link": "/15.主题开发/40.样式布局"
      },
      {
        "text": "容器自定义",
        "link": "/15.主题开发/60.容器自定义"
      },
      {
        "text": "开发技巧",
        "link": "/15.主题开发/70.开发技巧"
      },
      {
        "text": "Vite 插件",
        "link": "/15.主题开发/80.Vite 插件"
      }
    ],
    "/20.文档/": [
      {
        "text": "运维",
        "link": "/20.文档/01.linux"
      },
      {
        "text": "简介",
        "link": "/20.文档/05.nginx"
      },
      {
        "text": "html",
        "link": "/20.文档/10.Html"
      },
      {
        "text": "css",
        "link": "/20.文档/15.css"
      },
      {
        "text": "python",
        "link": "/20.文档/20.python"
      },
      {
        "text": "go",
        "link": "/20.文档/25.go"
      },
      {
        "text": "博客搭建",
        "link": "/20.文档/30.博客搭建"
      },
      {
        "text": "前端demo",
        "link": "/20.文档/35.前端demo"
      },
      {
        "text": "git",
        "link": "/20.文档/40.git"
      },
      {
        "text": "面试",
        "link": "/20.文档/45.面试"
      },
      {
        "text": "NAS",
        "link": "/20.文档/50.NAS"
      },
      {
        "text": "脚本",
        "link": "/20.文档/55.脚本"
      },
      {
        "text": "工具",
        "link": "/20.文档/60.工具"
      },
      {
        "text": "Teek-One",
        "link": "/20.文档/65.Teek-one"
      },
      {
        "text": "Teek-One",
        "link": "/20.文档/70.Typora-One"
      },
      {
        "text": "音乐",
        "link": "/20.文档/75.音乐"
      },
      {
        "text": "电影",
        "link": "/20.文档/80.电影"
      },
      {
        "text": "精神小屋",
        "link": "/20.文档/85.精神小屋"
      },
      {
        "text": "时间管理",
        "link": "/20.文档/90.时间管理"
      },
      {
        "text": "文案",
        "link": "/20.文档/95.文案"
      }
    ]
  },
  "permalinks": {
    "map": {
      "markdown-examples": "/pages/10b155.html",
      "01.指南/01.简介/01.简介": "/guide/intro.html",
      "01.指南/01.简介/10.快速开始": "/guide/quickstart.html",
      "01.指南/01.简介/20.结构化目录": "/guide/directory-structure.html",
      "01.指南/10.使用/05.Markdown 拓展": "/guide/markdown.html",
      "01.指南/10.使用/10.摘要与封面": "/guide/summary.html",
      "01.指南/10.使用/15.主题增强": "/guide/theme-enhance.html",
      "01.指南/10.使用/20.样式增强": "/styles-plus.html",
      "01.指南/10.使用/25.国际化": "/guide/i18n.html",
      "01.指南/10.使用/30.Vite 插件": "/guide/plugins.html",
      "01.指南/10.使用/35.站点统计": "/guide/statistics.html",
      "01.指南/10.使用/45.私密文章": "/guide/private.html",
      "01.指南/20.相关/02.插槽布局": "/guide/slot.html",
      "01.指南/20.相关/05.路由钩子": "/guide/router-hook.html",
      "01.指南/20.相关/10.写作排版": "/guide/typesetting.html",
      "01.指南/20.相关/99.鸣谢": "/thank-they.html",
      "01.指南/40.开发/01.开发指南": "/guide/dev.html",
      "01.指南/40.开发/05.贡献指南": "/guide/contribution.html",
      "01.指南/50.Teek原版优化记录": "/pages/8a2fd7.html",
      "01.指南/60.我的项目结构说明": "/pages/793982.html",
      "01.指南/目录": "/guide.html",
      "10.配置/01.主题配置/01.配置简介": "/reference/config.html",
      "10.配置/01.主题配置/05.全局配置": "/reference/config/global-config.html",
      "10.配置/01.主题配置/10.Banner 配置": "/reference/banner-config.html",
      "10.配置/01.主题配置/15.文章列表配置": "/reference/post-config.html",
      "10.配置/01.主题配置/20.卡片栏配置": "/reference/card-config.html",
      "10.配置/01.主题配置/25.页脚配置": "/reference/footer-config.html",
      "10.配置/01.主题配置/30.文章配置": "/reference/article-config.html",
      "10.配置/01.主题配置/35.评论配置": "/reference/comment-config.html",
      "10.配置/01.主题配置/40.插件配置": "/reference/plugin-config.html",
      "10.配置/01.主题配置/50.功能页配置": "/reference/function-page-config.html",
      "10.配置/10.frontmatter 配置": "/reference/frontmatter.html",
      "10.配置/20.目录页配置": "/reference/catalogue-page.html",
      "10.配置/30.功能页配置": "/reference/function-page.html",
      "10.配置/40.主题增强拓展": "/reference/theme-enhance.html",
      "10.配置/目录": "/reference.html",
      "15.主题开发/01.开发思路": "/develop/intro.html",
      "15.主题开发/10.主题配置": "/develop/config.html",
      "15.主题开发/20.目录结构": "/develop/catalogue.html",
      "15.主题开发/30.组件布局": "/develop/components.html",
      "15.主题开发/40.样式布局": "/develop/styles.html",
      "15.主题开发/60.容器自定义": "/develop/container.html",
      "15.主题开发/70.开发技巧": "/develop/skill.html",
      "15.主题开发/80.Vite 插件": "/develop/vite.html",
      "20.文档/01.linux": "/linux.html",
      "20.文档/05.nginx": "/nginx.html",
      "20.文档/10.Html": "/html.html",
      "20.文档/100.关于我": "/about-me.html",
      "20.文档/105.关于本站": "/about-website.html",
      "20.文档/110.网站导航": "/websites.html",
      "20.文档/115.留言区": "/liuyanqu.html",
      "20.文档/120.思考": "/thinking.html",
      "20.文档/15.css": "/css.html",
      "20.文档/20.python": "/python.html",
      "20.文档/25.go": "/go.html",
      "20.文档/30.博客搭建": "/blog.html",
      "20.文档/35.前端demo": "/qianduan-demo.html",
      "20.文档/40.git": "/git.html",
      "20.文档/45.面试": "/mianshi.html",
      "20.文档/50.NAS": "/NAS.html",
      "20.文档/55.脚本": "/jiaoben.html",
      "20.文档/60.工具": "/tools.html",
      "20.文档/65.Teek-one": "/teek.html",
      "20.文档/70.Typora-One": "/typora-theme-one.html",
      "20.文档/75.音乐": "/music.html",
      "20.文档/80.电影": "/movie.html",
      "20.文档/85.精神小屋": "/love.html",
      "20.文档/90.时间管理": "/time-plan.html",
      "20.文档/95.文案": "/wenan.html",
      "@pages/archivesPage": "/archives.html",
      "@pages/articleOverviewPage": "/articleOverview.html",
      "@pages/categoriesPage": "/categories.html",
      "@pages/loginPage": "/login.html",
      "@pages/riskLinkPage": "/risk-link.html",
      "@pages/tagsPage": "/tags.html"
    },
    "inv": {
      "/pages/10b155.html": "markdown-examples",
      "/guide/intro.html": "01.指南/01.简介/01.简介",
      "/guide/quickstart.html": "01.指南/01.简介/10.快速开始",
      "/guide/directory-structure.html": "01.指南/01.简介/20.结构化目录",
      "/guide/markdown.html": "01.指南/10.使用/05.Markdown 拓展",
      "/guide/summary.html": "01.指南/10.使用/10.摘要与封面",
      "/guide/theme-enhance.html": "01.指南/10.使用/15.主题增强",
      "/styles-plus.html": "01.指南/10.使用/20.样式增强",
      "/guide/i18n.html": "01.指南/10.使用/25.国际化",
      "/guide/plugins.html": "01.指南/10.使用/30.Vite 插件",
      "/guide/statistics.html": "01.指南/10.使用/35.站点统计",
      "/guide/private.html": "01.指南/10.使用/45.私密文章",
      "/guide/slot.html": "01.指南/20.相关/02.插槽布局",
      "/guide/router-hook.html": "01.指南/20.相关/05.路由钩子",
      "/guide/typesetting.html": "01.指南/20.相关/10.写作排版",
      "/thank-they.html": "01.指南/20.相关/99.鸣谢",
      "/guide/dev.html": "01.指南/40.开发/01.开发指南",
      "/guide/contribution.html": "01.指南/40.开发/05.贡献指南",
      "/pages/8a2fd7.html": "01.指南/50.Teek原版优化记录",
      "/pages/793982.html": "01.指南/60.我的项目结构说明",
      "/guide.html": "01.指南/目录",
      "/reference/config.html": "10.配置/01.主题配置/01.配置简介",
      "/reference/config/global-config.html": "10.配置/01.主题配置/05.全局配置",
      "/reference/banner-config.html": "10.配置/01.主题配置/10.Banner 配置",
      "/reference/post-config.html": "10.配置/01.主题配置/15.文章列表配置",
      "/reference/card-config.html": "10.配置/01.主题配置/20.卡片栏配置",
      "/reference/footer-config.html": "10.配置/01.主题配置/25.页脚配置",
      "/reference/article-config.html": "10.配置/01.主题配置/30.文章配置",
      "/reference/comment-config.html": "10.配置/01.主题配置/35.评论配置",
      "/reference/plugin-config.html": "10.配置/01.主题配置/40.插件配置",
      "/reference/function-page-config.html": "10.配置/01.主题配置/50.功能页配置",
      "/reference/frontmatter.html": "10.配置/10.frontmatter 配置",
      "/reference/catalogue-page.html": "10.配置/20.目录页配置",
      "/reference/function-page.html": "10.配置/30.功能页配置",
      "/reference/theme-enhance.html": "10.配置/40.主题增强拓展",
      "/reference.html": "10.配置/目录",
      "/develop/intro.html": "15.主题开发/01.开发思路",
      "/develop/config.html": "15.主题开发/10.主题配置",
      "/develop/catalogue.html": "15.主题开发/20.目录结构",
      "/develop/components.html": "15.主题开发/30.组件布局",
      "/develop/styles.html": "15.主题开发/40.样式布局",
      "/develop/container.html": "15.主题开发/60.容器自定义",
      "/develop/skill.html": "15.主题开发/70.开发技巧",
      "/develop/vite.html": "15.主题开发/80.Vite 插件",
      "/linux.html": "20.文档/01.linux",
      "/nginx.html": "20.文档/05.nginx",
      "/html.html": "20.文档/10.Html",
      "/about-me.html": "20.文档/100.关于我",
      "/about-website.html": "20.文档/105.关于本站",
      "/websites.html": "20.文档/110.网站导航",
      "/liuyanqu.html": "20.文档/115.留言区",
      "/thinking.html": "20.文档/120.思考",
      "/css.html": "20.文档/15.css",
      "/python.html": "20.文档/20.python",
      "/go.html": "20.文档/25.go",
      "/blog.html": "20.文档/30.博客搭建",
      "/qianduan-demo.html": "20.文档/35.前端demo",
      "/git.html": "20.文档/40.git",
      "/mianshi.html": "20.文档/45.面试",
      "/NAS.html": "20.文档/50.NAS",
      "/jiaoben.html": "20.文档/55.脚本",
      "/tools.html": "20.文档/60.工具",
      "/teek.html": "20.文档/65.Teek-one",
      "/typora-theme-one.html": "20.文档/70.Typora-One",
      "/music.html": "20.文档/75.音乐",
      "/movie.html": "20.文档/80.电影",
      "/love.html": "20.文档/85.精神小屋",
      "/time-plan.html": "20.文档/90.时间管理",
      "/wenan.html": "20.文档/95.文案",
      "/archives.html": "@pages/archivesPage",
      "/articleOverview.html": "@pages/articleOverviewPage",
      "/categories.html": "@pages/categoriesPage",
      "/login.html": "@pages/loginPage",
      "/risk-link.html": "@pages/riskLinkPage",
      "/tags.html": "@pages/tagsPage"
    }
  },
  "docAnalysisInfo": {
    "fileList": [
      {
        "filePath": "/workspace/docs/01.指南/01.简介/01.简介.md",
        "relativePath": "01.指南/01.简介/01.简介.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/01.简介/10.快速开始.md",
        "relativePath": "01.指南/01.简介/10.快速开始.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/01.简介/20.结构化目录.md",
        "relativePath": "01.指南/01.简介/20.结构化目录.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/05.Markdown 拓展.md",
        "relativePath": "01.指南/10.使用/05.Markdown 拓展.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/10.摘要与封面.md",
        "relativePath": "01.指南/10.使用/10.摘要与封面.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/15.主题增强.md",
        "relativePath": "01.指南/10.使用/15.主题增强.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/20.样式增强.md",
        "relativePath": "01.指南/10.使用/20.样式增强.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/25.国际化.md",
        "relativePath": "01.指南/10.使用/25.国际化.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/30.Vite 插件.md",
        "relativePath": "01.指南/10.使用/30.Vite 插件.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/35.站点统计.md",
        "relativePath": "01.指南/10.使用/35.站点统计.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/10.使用/45.私密文章.md",
        "relativePath": "01.指南/10.使用/45.私密文章.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/20.相关/02.插槽布局.md",
        "relativePath": "01.指南/20.相关/02.插槽布局.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/20.相关/05.路由钩子.md",
        "relativePath": "01.指南/20.相关/05.路由钩子.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/20.相关/10.写作排版.md",
        "relativePath": "01.指南/20.相关/10.写作排版.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/20.相关/99.鸣谢.md",
        "relativePath": "01.指南/20.相关/99.鸣谢.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/40.开发/01.开发指南.md",
        "relativePath": "01.指南/40.开发/01.开发指南.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/40.开发/05.贡献指南.md",
        "relativePath": "01.指南/40.开发/05.贡献指南.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/50.Teek原版优化记录.md",
        "relativePath": "01.指南/50.Teek原版优化记录.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/60.我的项目结构说明.md",
        "relativePath": "01.指南/60.我的项目结构说明.md"
      },
      {
        "filePath": "/workspace/docs/01.指南/目录.md",
        "relativePath": "01.指南/目录.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/01.配置简介.md",
        "relativePath": "10.配置/01.主题配置/01.配置简介.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/05.全局配置.md",
        "relativePath": "10.配置/01.主题配置/05.全局配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/10.Banner 配置.md",
        "relativePath": "10.配置/01.主题配置/10.Banner 配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/15.文章列表配置.md",
        "relativePath": "10.配置/01.主题配置/15.文章列表配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/20.卡片栏配置.md",
        "relativePath": "10.配置/01.主题配置/20.卡片栏配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/25.页脚配置.md",
        "relativePath": "10.配置/01.主题配置/25.页脚配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/30.文章配置.md",
        "relativePath": "10.配置/01.主题配置/30.文章配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/35.评论配置.md",
        "relativePath": "10.配置/01.主题配置/35.评论配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/40.插件配置.md",
        "relativePath": "10.配置/01.主题配置/40.插件配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/01.主题配置/50.功能页配置.md",
        "relativePath": "10.配置/01.主题配置/50.功能页配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/10.frontmatter 配置.md",
        "relativePath": "10.配置/10.frontmatter 配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/30.功能页配置.md",
        "relativePath": "10.配置/30.功能页配置.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/40.主题增强拓展.md",
        "relativePath": "10.配置/40.主题增强拓展.md"
      },
      {
        "filePath": "/workspace/docs/10.配置/目录.md",
        "relativePath": "10.配置/目录.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/01.开发思路.md",
        "relativePath": "15.主题开发/01.开发思路.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/10.主题配置.md",
        "relativePath": "15.主题开发/10.主题配置.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/20.目录结构.md",
        "relativePath": "15.主题开发/20.目录结构.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/30.组件布局.md",
        "relativePath": "15.主题开发/30.组件布局.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/40.样式布局.md",
        "relativePath": "15.主题开发/40.样式布局.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/60.容器自定义.md",
        "relativePath": "15.主题开发/60.容器自定义.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/70.开发技巧.md",
        "relativePath": "15.主题开发/70.开发技巧.md"
      },
      {
        "filePath": "/workspace/docs/15.主题开发/80.Vite 插件.md",
        "relativePath": "15.主题开发/80.Vite 插件.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/01.linux.md",
        "relativePath": "20.文档/01.linux.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/05.nginx.md",
        "relativePath": "20.文档/05.nginx.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/10.Html.md",
        "relativePath": "20.文档/10.Html.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/100.关于我.md",
        "relativePath": "20.文档/100.关于我.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/105.关于本站.md",
        "relativePath": "20.文档/105.关于本站.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/110.网站导航.md",
        "relativePath": "20.文档/110.网站导航.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/115.留言区.md",
        "relativePath": "20.文档/115.留言区.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/120.思考.md",
        "relativePath": "20.文档/120.思考.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/15.css.md",
        "relativePath": "20.文档/15.css.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/20.python.md",
        "relativePath": "20.文档/20.python.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/25.go.md",
        "relativePath": "20.文档/25.go.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/30.博客搭建.md",
        "relativePath": "20.文档/30.博客搭建.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/35.前端demo.md",
        "relativePath": "20.文档/35.前端demo.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/40.git.md",
        "relativePath": "20.文档/40.git.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/45.面试.md",
        "relativePath": "20.文档/45.面试.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/50.NAS.md",
        "relativePath": "20.文档/50.NAS.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/55.脚本.md",
        "relativePath": "20.文档/55.脚本.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/60.工具.md",
        "relativePath": "20.文档/60.工具.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/65.Teek-one.md",
        "relativePath": "20.文档/65.Teek-one.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/70.Typora-One.md",
        "relativePath": "20.文档/70.Typora-One.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/75.音乐.md",
        "relativePath": "20.文档/75.音乐.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/80.电影.md",
        "relativePath": "20.文档/80.电影.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/85.精神小屋.md",
        "relativePath": "20.文档/85.精神小屋.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/90.时间管理.md",
        "relativePath": "20.文档/90.时间管理.md"
      },
      {
        "filePath": "/workspace/docs/20.文档/95.文案.md",
        "relativePath": "20.文档/95.文案.md"
      },
      {
        "filePath": "/workspace/docs/api-examples.md",
        "relativePath": "api-examples.md"
      },
      {
        "filePath": "/workspace/docs/markdown-examples.md",
        "relativePath": "markdown-examples.md"
      }
    ],
    "totalFileWords": 76552,
    "eachFileWords": [
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/01.简介/01.简介.md",
          "relativePath": "01.指南/01.简介/01.简介.md"
        },
        "wordCount": 925,
        "readingTime": "3.2m",
        "frontmatter": {
          "title": "简介",
          "date": {},
          "permalink": "/guide/intro",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/01.简介/10.快速开始.md",
          "relativePath": "01.指南/01.简介/10.快速开始.md"
        },
        "wordCount": 722,
        "readingTime": "3.4m",
        "frontmatter": {
          "title": "快速开始",
          "date": {},
          "permalink": "/guide/quickstart",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 1,
          "coverImg": "https://vp.teek.top/blog/bg1.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/01.简介/20.结构化目录.md",
          "relativePath": "01.指南/01.简介/20.结构化目录.md"
        },
        "wordCount": 1514,
        "readingTime": "5.6m",
        "frontmatter": {
          "title": "结构化目录",
          "date": {},
          "permalink": "/guide/directory-structure",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/05.Markdown 拓展.md",
          "relativePath": "01.指南/10.使用/05.Markdown 拓展.md"
        },
        "wordCount": 3055,
        "readingTime": "13m",
        "frontmatter": {
          "title": "Markdown 拓展",
          "date": {},
          "permalink": "/guide/markdown",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 50,
          "coverImg": "https://vp.teek.top/blog/bg3.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/10.摘要与封面.md",
          "relativePath": "01.指南/10.使用/10.摘要与封面.md"
        },
        "wordCount": 871,
        "readingTime": "3.3m",
        "frontmatter": {
          "title": "摘要与封面",
          "date": {},
          "permalink": "/guide/summary",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/15.主题增强.md",
          "relativePath": "01.指南/10.使用/15.主题增强.md"
        },
        "wordCount": 607,
        "readingTime": "2.6m",
        "frontmatter": {
          "title": "主题增强",
          "date": {},
          "permalink": "/guide/theme-enhance",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/20.样式增强.md",
          "relativePath": "01.指南/10.使用/20.样式增强.md"
        },
        "wordCount": 713,
        "readingTime": "3.3m",
        "frontmatter": {
          "title": "样式增强",
          "date": {},
          "permalink": "/styles-plus",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/25.国际化.md",
          "relativePath": "01.指南/10.使用/25.国际化.md"
        },
        "wordCount": 1588,
        "readingTime": "7.8m",
        "frontmatter": {
          "title": "国际化",
          "date": {},
          "permalink": "/guide/i18n",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/30.Vite 插件.md",
          "relativePath": "01.指南/10.使用/30.Vite 插件.md"
        },
        "wordCount": 2312,
        "readingTime": "10m",
        "frontmatter": {
          "title": "Vite 插件",
          "date": {},
          "permalink": "/guide/plugins",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/35.站点统计.md",
          "relativePath": "01.指南/10.使用/35.站点统计.md"
        },
        "wordCount": 710,
        "readingTime": "2.9m",
        "frontmatter": {
          "title": "站点统计",
          "date": {},
          "permalink": "/guide/statistics",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/4.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/10.使用/45.私密文章.md",
          "relativePath": "01.指南/10.使用/45.私密文章.md"
        },
        "wordCount": 1766,
        "readingTime": "6.7m",
        "frontmatter": {
          "title": "私密文章",
          "date": {},
          "permalink": "/guide/private",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/20.相关/02.插槽布局.md",
          "relativePath": "01.指南/20.相关/02.插槽布局.md"
        },
        "wordCount": 1017,
        "readingTime": "5.1m",
        "frontmatter": {
          "title": "插槽布局",
          "date": {},
          "permalink": "/guide/slot",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/20.相关/05.路由钩子.md",
          "relativePath": "01.指南/20.相关/05.路由钩子.md"
        },
        "wordCount": 531,
        "readingTime": "2.3m",
        "frontmatter": {
          "title": "路由钩子",
          "date": {},
          "permalink": "/guide/router-hook",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/20.相关/10.写作排版.md",
          "relativePath": "01.指南/20.相关/10.写作排版.md"
        },
        "wordCount": 2634,
        "readingTime": "10.6m",
        "frontmatter": {
          "title": "写作排版",
          "date": {},
          "permalink": "/guide/typesetting",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/20.相关/99.鸣谢.md",
          "relativePath": "01.指南/20.相关/99.鸣谢.md"
        },
        "wordCount": 389,
        "readingTime": "1.8m",
        "frontmatter": {
          "title": "鸣谢",
          "date": {},
          "permalink": "/thank-they",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/40.开发/01.开发指南.md",
          "relativePath": "01.指南/40.开发/01.开发指南.md"
        },
        "wordCount": 284,
        "readingTime": "1.2m",
        "frontmatter": {
          "title": "开发指南",
          "date": {},
          "permalink": "/guide/dev",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/40.开发/05.贡献指南.md",
          "relativePath": "01.指南/40.开发/05.贡献指南.md"
        },
        "wordCount": 583,
        "readingTime": "2.3m",
        "frontmatter": {
          "title": "贡献指南",
          "date": {},
          "permalink": "/guide/contribution",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/50.Teek原版优化记录.md",
          "relativePath": "01.指南/50.Teek原版优化记录.md"
        },
        "wordCount": 2894,
        "readingTime": "14.1m",
        "frontmatter": {
          "date": {},
          "title": "Teek原版优化记录",
          "permalink": "/pages/8a2fd7",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/18.webp",
          "top": true,
          "sticky": 4
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/60.我的项目结构说明.md",
          "relativePath": "01.指南/60.我的项目结构说明.md"
        },
        "wordCount": 1436,
        "readingTime": "5.8m",
        "frontmatter": {
          "date": {},
          "title": "我的项目结构说明",
          "permalink": "/pages/793982",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/7.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/01.指南/目录.md",
          "relativePath": "01.指南/目录.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "title": "指南",
          "date": {},
          "permalink": "/guide",
          "layout": "page",
          "catalogue": true,
          "path": "01.指南",
          "desc": "Teek 使用指南",
          "sidebar": false,
          "article": false,
          "categories": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/01.配置简介.md",
          "relativePath": "10.配置/01.主题配置/01.配置简介.md"
        },
        "wordCount": 548,
        "readingTime": "2.5m",
        "frontmatter": {
          "title": "配置简介",
          "date": {},
          "permalink": "/reference/config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "sticky": 10,
          "coverImg": "https://vp.teek.top/blog/bg2.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/05.全局配置.md",
          "relativePath": "10.配置/01.主题配置/05.全局配置.md"
        },
        "wordCount": 2852,
        "readingTime": "12.6m",
        "frontmatter": {
          "title": "全局配置",
          "date": {},
          "permalink": "/reference/config/global-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/10.Banner 配置.md",
          "relativePath": "10.配置/01.主题配置/10.Banner 配置.md"
        },
        "wordCount": 1583,
        "readingTime": "6.7m",
        "frontmatter": {
          "title": "Banner 配置",
          "date": {},
          "permalink": "/reference/banner-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/15.文章列表配置.md",
          "relativePath": "10.配置/01.主题配置/15.文章列表配置.md"
        },
        "wordCount": 747,
        "readingTime": "3.2m",
        "frontmatter": {
          "title": "文章列表配置",
          "date": {},
          "permalink": "/reference/post-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/20.卡片栏配置.md",
          "relativePath": "10.配置/01.主题配置/20.卡片栏配置.md"
        },
        "wordCount": 2538,
        "readingTime": "11.5m",
        "frontmatter": {
          "title": "卡片栏配置",
          "date": {},
          "permalink": "/reference/card-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/25.页脚配置.md",
          "relativePath": "10.配置/01.主题配置/25.页脚配置.md"
        },
        "wordCount": 864,
        "readingTime": "3.8m",
        "frontmatter": {
          "title": "页脚配置",
          "date": {},
          "permalink": "/reference/footer-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/30.文章配置.md",
          "relativePath": "10.配置/01.主题配置/30.文章配置.md"
        },
        "wordCount": 2385,
        "readingTime": "10.4m",
        "frontmatter": {
          "title": "文章配置",
          "date": {},
          "permalink": "/reference/article-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/35.评论配置.md",
          "relativePath": "10.配置/01.主题配置/35.评论配置.md"
        },
        "wordCount": 1378,
        "readingTime": "6.4m",
        "frontmatter": {
          "title": "评论配置",
          "date": {},
          "permalink": "/reference/comment-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/40.插件配置.md",
          "relativePath": "10.配置/01.主题配置/40.插件配置.md"
        },
        "wordCount": 1521,
        "readingTime": "6.8m",
        "frontmatter": {
          "title": "插件配置",
          "date": {},
          "permalink": "/reference/plugin-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/01.主题配置/50.功能页配置.md",
          "relativePath": "10.配置/01.主题配置/50.功能页配置.md"
        },
        "wordCount": 1419,
        "readingTime": "5.9m",
        "frontmatter": {
          "title": "功能页配置",
          "date": {},
          "permalink": "/reference/function-page-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/10.frontmatter 配置.md",
          "relativePath": "10.配置/10.frontmatter 配置.md"
        },
        "wordCount": 1750,
        "readingTime": "7m",
        "frontmatter": {
          "title": "frontmatter 配置",
          "date": {},
          "permalink": "/reference/frontmatter",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/30.功能页配置.md",
          "relativePath": "10.配置/30.功能页配置.md"
        },
        "wordCount": 1058,
        "readingTime": "4.6m",
        "frontmatter": {
          "title": "功能页配置",
          "date": {},
          "permalink": "/reference/function-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/40.主题增强拓展.md",
          "relativePath": "10.配置/40.主题增强拓展.md"
        },
        "wordCount": 1878,
        "readingTime": "9.9m",
        "frontmatter": {
          "title": "主题增强拓展",
          "date": {},
          "permalink": "/reference/theme-enhance",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/10.配置/目录.md",
          "relativePath": "10.配置/目录.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "title": "配置",
          "date": {},
          "permalink": "/reference",
          "layout": "page",
          "catalogue": true,
          "path": "10.配置",
          "desc": "Teek 相关配置",
          "sidebar": false,
          "article": false,
          "categories": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/01.开发思路.md",
          "relativePath": "15.主题开发/01.开发思路.md"
        },
        "wordCount": 2003,
        "readingTime": "9.2m",
        "frontmatter": {
          "title": "开发思路",
          "date": {},
          "permalink": "/develop/intro",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/10.主题配置.md",
          "relativePath": "15.主题开发/10.主题配置.md"
        },
        "wordCount": 618,
        "readingTime": "2.6m",
        "frontmatter": {
          "title": "主题配置",
          "date": {},
          "permalink": "/develop/config",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/20.目录结构.md",
          "relativePath": "15.主题开发/20.目录结构.md"
        },
        "wordCount": 694,
        "readingTime": "2.6m",
        "frontmatter": {
          "title": "目录结构",
          "date": {},
          "permalink": "/develop/catalogue",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/30.组件布局.md",
          "relativePath": "15.主题开发/30.组件布局.md"
        },
        "wordCount": 1155,
        "readingTime": "4.9m",
        "frontmatter": {
          "title": "组件结构",
          "date": {},
          "permalink": "/develop/components",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/40.样式布局.md",
          "relativePath": "15.主题开发/40.样式布局.md"
        },
        "wordCount": 2583,
        "readingTime": "10.7m",
        "frontmatter": {
          "title": "样式布局",
          "date": {},
          "permalink": "/develop/styles",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/60.容器自定义.md",
          "relativePath": "15.主题开发/60.容器自定义.md"
        },
        "wordCount": 734,
        "readingTime": "3.3m",
        "frontmatter": {
          "title": "容器自定义",
          "date": {},
          "permalink": "/develop/container",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/70.开发技巧.md",
          "relativePath": "15.主题开发/70.开发技巧.md"
        },
        "wordCount": 1359,
        "readingTime": "6.3m",
        "frontmatter": {
          "title": "开发技巧",
          "date": {},
          "permalink": "/develop/skill",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/15.主题开发/80.Vite 插件.md",
          "relativePath": "15.主题开发/80.Vite 插件.md"
        },
        "wordCount": 2289,
        "readingTime": "9.5m",
        "frontmatter": {
          "title": "Vite 插件",
          "date": {},
          "permalink": "/develop/vite",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/01.linux.md",
          "relativePath": "20.文档/01.linux.md"
        },
        "wordCount": 9,
        "readingTime": "1m",
        "frontmatter": {
          "title": "运维",
          "date": {},
          "permalink": "/linux",
          "categories": [
            "运维"
          ],
          "tags": [
            "运维"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/05.nginx.md",
          "relativePath": "20.文档/05.nginx.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "title": "简介",
          "date": {},
          "permalink": "/nginx",
          "categories": [
            "运维",
            "nginx",
            "简介"
          ],
          "tags": [
            null
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/10.Html.md",
          "relativePath": "20.文档/10.Html.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "html",
          "permalink": "/html",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/16.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/100.关于我.md",
          "relativePath": "20.文档/100.关于我.md"
        },
        "wordCount": 6,
        "readingTime": "1m",
        "frontmatter": {
          "title": "关于我",
          "date": {},
          "permalink": "/about-me",
          "categories": [
            "更多"
          ],
          "tags": [
            "关于我"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/105.关于本站.md",
          "relativePath": "20.文档/105.关于本站.md"
        },
        "wordCount": 739,
        "readingTime": "2.7m",
        "frontmatter": {
          "title": "关于本站",
          "date": {},
          "permalink": "/about-website",
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "categories": [
            "关于本站"
          ],
          "tags": [
            "关于本站"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/11.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/110.网站导航.md",
          "relativePath": "20.文档/110.网站导航.md"
        },
        "wordCount": 5733,
        "readingTime": "28.2m",
        "frontmatter": {
          "title": "网站导航",
          "date": {},
          "permalink": "/websites",
          "categories": [
            "关于"
          ],
          "tags": [
            "网站导航"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "themeSize": "wide",
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/115.留言区.md",
          "relativePath": "20.文档/115.留言区.md"
        },
        "wordCount": 71,
        "readingTime": "1m",
        "frontmatter": {
          "title": "留言区",
          "date": {},
          "permalink": "/liuyanqu",
          "categories": [
            null
          ],
          "tags": [
            null
          ],
          "sidebar": false,
          "article": false,
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/120.思考.md",
          "relativePath": "20.文档/120.思考.md"
        },
        "wordCount": 9,
        "readingTime": "1m",
        "frontmatter": {
          "title": "思考",
          "date": {},
          "permalink": "/thinking",
          "categories": [
            "关于"
          ],
          "tags": [
            "思考"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/15.css.md",
          "relativePath": "20.文档/15.css.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "css",
          "permalink": "/css",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/15.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/20.python.md",
          "relativePath": "20.文档/20.python.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "title": "python",
          "date": {},
          "permalink": "/python/",
          "categories": [
            "编程",
            "python"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/25.go.md",
          "relativePath": "20.文档/25.go.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "title": "go",
          "date": {},
          "permalink": "/go/",
          "categories": [
            "编程",
            "go"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/30.博客搭建.md",
          "relativePath": "20.文档/30.博客搭建.md"
        },
        "wordCount": 7,
        "readingTime": "1m",
        "frontmatter": {
          "title": "博客搭建",
          "date": {},
          "permalink": "/blog",
          "categories": [
            "博客搭建"
          ],
          "tags": [
            "博客搭建"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/35.前端demo.md",
          "relativePath": "20.文档/35.前端demo.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "前端demo",
          "permalink": "/qianduan-demo",
          "categories": [
            "OneWiki",
            "专题",
            "前端demo"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/40.git.md",
          "relativePath": "20.文档/40.git.md"
        },
        "wordCount": 11,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "git",
          "permalink": "/git",
          "categories": [
            "专题",
            "git"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/45.面试.md",
          "relativePath": "20.文档/45.面试.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "面试",
          "permalink": "/mianshi",
          "categories": [
            "OneWiki",
            "专题",
            "面试"
          ],
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/50.NAS.md",
          "relativePath": "20.文档/50.NAS.md"
        },
        "wordCount": 4130,
        "readingTime": "16.2m",
        "frontmatter": {
          "date": {},
          "title": "NAS",
          "coverImg": "https://onedayxyy.cn/images/15.webp",
          "permalink": "/NAS",
          "categories": [
            "专题"
          ],
          "tags": [
            "NAS"
          ]
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/55.脚本.md",
          "relativePath": "20.文档/55.脚本.md"
        },
        "wordCount": 9,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "脚本",
          "permalink": "/jiaoben",
          "categories": [
            "OneWiki",
            "专题",
            "脚本"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/60.工具.md",
          "relativePath": "20.文档/60.工具.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "工具",
          "permalink": "/tools",
          "categories": [
            "OneWiki",
            "工具"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/65.Teek-one.md",
          "relativePath": "20.文档/65.Teek-one.md"
        },
        "wordCount": 4500,
        "readingTime": "18.2m",
        "frontmatter": {
          "title": "Teek-One",
          "date": {},
          "permalink": "/teek",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/70.Typora-One.md",
          "relativePath": "20.文档/70.Typora-One.md"
        },
        "wordCount": 4500,
        "readingTime": "18.2m",
        "frontmatter": {
          "title": "Teek-One",
          "date": {},
          "permalink": "/typora-theme-one",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "sticky": 1,
          "top": true,
          "description": "全网最美博客-Teek(知识库&博客二合一)😜",
          "titleTag": "推荐",
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/75.音乐.md",
          "relativePath": "20.文档/75.音乐.md"
        },
        "wordCount": 12,
        "readingTime": "1m",
        "frontmatter": {
          "title": "音乐",
          "date": {},
          "permalink": "/music",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "音乐"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/80.电影.md",
          "relativePath": "20.文档/80.电影.md"
        },
        "wordCount": 50,
        "readingTime": "1m",
        "frontmatter": {
          "title": "电影",
          "date": {},
          "permalink": "/movie",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "电影"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/85.精神小屋.md",
          "relativePath": "20.文档/85.精神小屋.md"
        },
        "wordCount": 7,
        "readingTime": "1m",
        "frontmatter": {
          "title": "精神小屋",
          "date": {},
          "permalink": "/love",
          "categories": [
            "精神小屋"
          ],
          "tags": [
            "精神小屋"
          ],
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/90.时间管理.md",
          "relativePath": "20.文档/90.时间管理.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "时间管理",
          "permalink": "/time-plan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "/img/bg/12.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/20.文档/95.文案.md",
          "relativePath": "20.文档/95.文案.md"
        },
        "wordCount": 0,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "文案",
          "permalink": "/wenan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/api-examples.md",
          "relativePath": "api-examples.md"
        },
        "wordCount": 119,
        "readingTime": "1m",
        "frontmatter": {
          "outline": "deep"
        }
      },
      {
        "fileInfo": {
          "filePath": "/workspace/docs/markdown-examples.md",
          "relativePath": "markdown-examples.md"
        },
        "wordCount": 133,
        "readingTime": "1m",
        "frontmatter": {
          "date": {},
          "title": "markdown-examples",
          "permalink": "/pages/10b155",
          "categories": [
            null
          ],
          "coverImg": "/img/bg/9.webp"
        }
      }
    ],
    "lastCommitTime": "2025-07-03 01:04:28"
  },
  "catalogues": {
    "arr": [
      {
        "filePath": "01.指南/目录",
        "path": "01.指南",
        "catalogues": [
          {
            "title": "简介",
            "children": [
              {
                "title": "简介",
                "link": "/01.指南/01.简介/01.简介",
                "frontmatter": {
                  "title": "简介",
                  "date": {},
                  "permalink": "/guide/intro",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "快速开始",
                "link": "/01.指南/01.简介/10.快速开始",
                "frontmatter": {
                  "title": "快速开始",
                  "date": {},
                  "permalink": "/guide/quickstart",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 1,
                  "coverImg": "https://vp.teek.top/blog/bg1.webp"
                }
              },
              {
                "title": "结构化目录",
                "link": "/01.指南/01.简介/20.结构化目录",
                "frontmatter": {
                  "title": "结构化目录",
                  "date": {},
                  "permalink": "/guide/directory-structure",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/13.webp"
                }
              }
            ]
          },
          {
            "title": "使用",
            "children": [
              {
                "title": "Markdown 拓展",
                "link": "/01.指南/10.使用/05.Markdown 拓展",
                "frontmatter": {
                  "title": "Markdown 拓展",
                  "date": {},
                  "permalink": "/guide/markdown",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 50,
                  "coverImg": "https://vp.teek.top/blog/bg3.webp"
                }
              },
              {
                "title": "摘要与封面",
                "link": "/01.指南/10.使用/10.摘要与封面",
                "frontmatter": {
                  "title": "摘要与封面",
                  "date": {},
                  "permalink": "/guide/summary",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "主题增强",
                "link": "/01.指南/10.使用/15.主题增强",
                "frontmatter": {
                  "title": "主题增强",
                  "date": {},
                  "permalink": "/guide/theme-enhance",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "样式增强",
                "link": "/01.指南/10.使用/20.样式增强",
                "frontmatter": {
                  "title": "样式增强",
                  "date": {},
                  "permalink": "/styles-plus",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              },
              {
                "title": "国际化",
                "link": "/01.指南/10.使用/25.国际化",
                "frontmatter": {
                  "title": "国际化",
                  "date": {},
                  "permalink": "/guide/i18n",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "Vite 插件",
                "link": "/01.指南/10.使用/30.Vite 插件",
                "frontmatter": {
                  "title": "Vite 插件",
                  "date": {},
                  "permalink": "/guide/plugins",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/2.webp"
                }
              },
              {
                "title": "站点统计",
                "link": "/01.指南/10.使用/35.站点统计",
                "frontmatter": {
                  "title": "站点统计",
                  "date": {},
                  "permalink": "/guide/statistics",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/4.webp"
                }
              },
              {
                "title": "私密文章",
                "link": "/01.指南/10.使用/45.私密文章",
                "frontmatter": {
                  "title": "私密文章",
                  "date": {},
                  "permalink": "/guide/private",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              }
            ]
          },
          {
            "title": "相关",
            "children": [
              {
                "title": "插槽布局",
                "link": "/01.指南/20.相关/02.插槽布局",
                "frontmatter": {
                  "title": "插槽布局",
                  "date": {},
                  "permalink": "/guide/slot",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "路由钩子",
                "link": "/01.指南/20.相关/05.路由钩子",
                "frontmatter": {
                  "title": "路由钩子",
                  "date": {},
                  "permalink": "/guide/router-hook",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/9.webp"
                }
              },
              {
                "title": "写作排版",
                "link": "/01.指南/20.相关/10.写作排版",
                "frontmatter": {
                  "title": "写作排版",
                  "date": {},
                  "permalink": "/guide/typesetting",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "鸣谢",
                "link": "/01.指南/20.相关/99.鸣谢",
                "frontmatter": {
                  "title": "鸣谢",
                  "date": {},
                  "permalink": "/thank-they",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              }
            ]
          },
          {
            "title": "开发",
            "children": [
              {
                "title": "开发指南",
                "link": "/01.指南/40.开发/01.开发指南",
                "frontmatter": {
                  "title": "开发指南",
                  "date": {},
                  "permalink": "/guide/dev",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/18.webp"
                }
              },
              {
                "title": "贡献指南",
                "link": "/01.指南/40.开发/05.贡献指南",
                "frontmatter": {
                  "title": "贡献指南",
                  "date": {},
                  "permalink": "/guide/contribution",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              }
            ]
          },
          {
            "title": "Teek原版优化记录",
            "link": "/01.指南/50.Teek原版优化记录",
            "frontmatter": {
              "date": {},
              "title": "Teek原版优化记录",
              "permalink": "/pages/8a2fd7",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/18.webp",
              "top": true,
              "sticky": 4
            }
          },
          {
            "title": "我的项目结构说明",
            "link": "/01.指南/60.我的项目结构说明",
            "frontmatter": {
              "date": {},
              "title": "我的项目结构说明",
              "permalink": "/pages/793982",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/7.webp"
            }
          }
        ]
      },
      {
        "filePath": "10.配置/目录",
        "path": "10.配置",
        "catalogues": [
          {
            "title": "主题配置",
            "children": [
              {
                "title": "配置简介",
                "link": "/10.配置/01.主题配置/01.配置简介",
                "frontmatter": {
                  "title": "配置简介",
                  "date": {},
                  "permalink": "/reference/config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "top": true,
                  "sticky": 10,
                  "coverImg": "https://vp.teek.top/blog/bg2.webp"
                }
              },
              {
                "title": "全局配置",
                "link": "/10.配置/01.主题配置/05.全局配置",
                "frontmatter": {
                  "title": "全局配置",
                  "date": {},
                  "permalink": "/reference/config/global-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/15.webp"
                }
              },
              {
                "title": "Banner 配置",
                "link": "/10.配置/01.主题配置/10.Banner 配置",
                "frontmatter": {
                  "title": "Banner 配置",
                  "date": {},
                  "permalink": "/reference/banner-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "文章列表配置",
                "link": "/10.配置/01.主题配置/15.文章列表配置",
                "frontmatter": {
                  "title": "文章列表配置",
                  "date": {},
                  "permalink": "/reference/post-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "卡片栏配置",
                "link": "/10.配置/01.主题配置/20.卡片栏配置",
                "frontmatter": {
                  "title": "卡片栏配置",
                  "date": {},
                  "permalink": "/reference/card-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "页脚配置",
                "link": "/10.配置/01.主题配置/25.页脚配置",
                "frontmatter": {
                  "title": "页脚配置",
                  "date": {},
                  "permalink": "/reference/footer-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "文章配置",
                "link": "/10.配置/01.主题配置/30.文章配置",
                "frontmatter": {
                  "title": "文章配置",
                  "date": {},
                  "permalink": "/reference/article-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "评论配置",
                "link": "/10.配置/01.主题配置/35.评论配置",
                "frontmatter": {
                  "title": "评论配置",
                  "date": {},
                  "permalink": "/reference/comment-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/7.webp"
                }
              },
              {
                "title": "插件配置",
                "link": "/10.配置/01.主题配置/40.插件配置",
                "frontmatter": {
                  "title": "插件配置",
                  "date": {},
                  "permalink": "/reference/plugin-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/5.webp"
                }
              },
              {
                "title": "功能页配置",
                "link": "/10.配置/01.主题配置/50.功能页配置",
                "frontmatter": {
                  "title": "功能页配置",
                  "date": {},
                  "permalink": "/reference/function-page-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/1.webp"
                }
              }
            ]
          },
          {
            "title": "frontmatter 配置",
            "link": "/10.配置/10.frontmatter 配置",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": {},
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            }
          },
          {
            "title": "目录页配置",
            "link": "/10.配置/20.目录页配置",
            "frontmatter": {
              "title": "目录页配置",
              "date": {},
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            }
          },
          {
            "title": "功能页配置",
            "link": "/10.配置/30.功能页配置",
            "frontmatter": {
              "title": "功能页配置",
              "date": {},
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          },
          {
            "title": "主题增强拓展",
            "link": "/10.配置/40.主题增强拓展",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": {},
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          }
        ]
      }
    ],
    "map": {
      "01.指南/目录": {
        "path": "01.指南",
        "catalogues": [
          {
            "title": "简介",
            "children": [
              {
                "title": "简介",
                "link": "/01.指南/01.简介/01.简介",
                "frontmatter": {
                  "title": "简介",
                  "date": {},
                  "permalink": "/guide/intro",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "快速开始",
                "link": "/01.指南/01.简介/10.快速开始",
                "frontmatter": {
                  "title": "快速开始",
                  "date": {},
                  "permalink": "/guide/quickstart",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 1,
                  "coverImg": "https://vp.teek.top/blog/bg1.webp"
                }
              },
              {
                "title": "结构化目录",
                "link": "/01.指南/01.简介/20.结构化目录",
                "frontmatter": {
                  "title": "结构化目录",
                  "date": {},
                  "permalink": "/guide/directory-structure",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/13.webp"
                }
              }
            ]
          },
          {
            "title": "使用",
            "children": [
              {
                "title": "Markdown 拓展",
                "link": "/01.指南/10.使用/05.Markdown 拓展",
                "frontmatter": {
                  "title": "Markdown 拓展",
                  "date": {},
                  "permalink": "/guide/markdown",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 50,
                  "coverImg": "https://vp.teek.top/blog/bg3.webp"
                }
              },
              {
                "title": "摘要与封面",
                "link": "/01.指南/10.使用/10.摘要与封面",
                "frontmatter": {
                  "title": "摘要与封面",
                  "date": {},
                  "permalink": "/guide/summary",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "主题增强",
                "link": "/01.指南/10.使用/15.主题增强",
                "frontmatter": {
                  "title": "主题增强",
                  "date": {},
                  "permalink": "/guide/theme-enhance",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "样式增强",
                "link": "/01.指南/10.使用/20.样式增强",
                "frontmatter": {
                  "title": "样式增强",
                  "date": {},
                  "permalink": "/styles-plus",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              },
              {
                "title": "国际化",
                "link": "/01.指南/10.使用/25.国际化",
                "frontmatter": {
                  "title": "国际化",
                  "date": {},
                  "permalink": "/guide/i18n",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "Vite 插件",
                "link": "/01.指南/10.使用/30.Vite 插件",
                "frontmatter": {
                  "title": "Vite 插件",
                  "date": {},
                  "permalink": "/guide/plugins",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/2.webp"
                }
              },
              {
                "title": "站点统计",
                "link": "/01.指南/10.使用/35.站点统计",
                "frontmatter": {
                  "title": "站点统计",
                  "date": {},
                  "permalink": "/guide/statistics",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/4.webp"
                }
              },
              {
                "title": "私密文章",
                "link": "/01.指南/10.使用/45.私密文章",
                "frontmatter": {
                  "title": "私密文章",
                  "date": {},
                  "permalink": "/guide/private",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              }
            ]
          },
          {
            "title": "相关",
            "children": [
              {
                "title": "插槽布局",
                "link": "/01.指南/20.相关/02.插槽布局",
                "frontmatter": {
                  "title": "插槽布局",
                  "date": {},
                  "permalink": "/guide/slot",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "路由钩子",
                "link": "/01.指南/20.相关/05.路由钩子",
                "frontmatter": {
                  "title": "路由钩子",
                  "date": {},
                  "permalink": "/guide/router-hook",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/9.webp"
                }
              },
              {
                "title": "写作排版",
                "link": "/01.指南/20.相关/10.写作排版",
                "frontmatter": {
                  "title": "写作排版",
                  "date": {},
                  "permalink": "/guide/typesetting",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "鸣谢",
                "link": "/01.指南/20.相关/99.鸣谢",
                "frontmatter": {
                  "title": "鸣谢",
                  "date": {},
                  "permalink": "/thank-they",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              }
            ]
          },
          {
            "title": "开发",
            "children": [
              {
                "title": "开发指南",
                "link": "/01.指南/40.开发/01.开发指南",
                "frontmatter": {
                  "title": "开发指南",
                  "date": {},
                  "permalink": "/guide/dev",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/18.webp"
                }
              },
              {
                "title": "贡献指南",
                "link": "/01.指南/40.开发/05.贡献指南",
                "frontmatter": {
                  "title": "贡献指南",
                  "date": {},
                  "permalink": "/guide/contribution",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              }
            ]
          },
          {
            "title": "Teek原版优化记录",
            "link": "/01.指南/50.Teek原版优化记录",
            "frontmatter": {
              "date": {},
              "title": "Teek原版优化记录",
              "permalink": "/pages/8a2fd7",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/18.webp",
              "top": true,
              "sticky": 4
            }
          },
          {
            "title": "我的项目结构说明",
            "link": "/01.指南/60.我的项目结构说明",
            "frontmatter": {
              "date": {},
              "title": "我的项目结构说明",
              "permalink": "/pages/793982",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/7.webp"
            }
          }
        ]
      },
      "10.配置/目录": {
        "path": "10.配置",
        "catalogues": [
          {
            "title": "主题配置",
            "children": [
              {
                "title": "配置简介",
                "link": "/10.配置/01.主题配置/01.配置简介",
                "frontmatter": {
                  "title": "配置简介",
                  "date": {},
                  "permalink": "/reference/config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "top": true,
                  "sticky": 10,
                  "coverImg": "https://vp.teek.top/blog/bg2.webp"
                }
              },
              {
                "title": "全局配置",
                "link": "/10.配置/01.主题配置/05.全局配置",
                "frontmatter": {
                  "title": "全局配置",
                  "date": {},
                  "permalink": "/reference/config/global-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/15.webp"
                }
              },
              {
                "title": "Banner 配置",
                "link": "/10.配置/01.主题配置/10.Banner 配置",
                "frontmatter": {
                  "title": "Banner 配置",
                  "date": {},
                  "permalink": "/reference/banner-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "文章列表配置",
                "link": "/10.配置/01.主题配置/15.文章列表配置",
                "frontmatter": {
                  "title": "文章列表配置",
                  "date": {},
                  "permalink": "/reference/post-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "卡片栏配置",
                "link": "/10.配置/01.主题配置/20.卡片栏配置",
                "frontmatter": {
                  "title": "卡片栏配置",
                  "date": {},
                  "permalink": "/reference/card-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "页脚配置",
                "link": "/10.配置/01.主题配置/25.页脚配置",
                "frontmatter": {
                  "title": "页脚配置",
                  "date": {},
                  "permalink": "/reference/footer-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "文章配置",
                "link": "/10.配置/01.主题配置/30.文章配置",
                "frontmatter": {
                  "title": "文章配置",
                  "date": {},
                  "permalink": "/reference/article-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "评论配置",
                "link": "/10.配置/01.主题配置/35.评论配置",
                "frontmatter": {
                  "title": "评论配置",
                  "date": {},
                  "permalink": "/reference/comment-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/7.webp"
                }
              },
              {
                "title": "插件配置",
                "link": "/10.配置/01.主题配置/40.插件配置",
                "frontmatter": {
                  "title": "插件配置",
                  "date": {},
                  "permalink": "/reference/plugin-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/5.webp"
                }
              },
              {
                "title": "功能页配置",
                "link": "/10.配置/01.主题配置/50.功能页配置",
                "frontmatter": {
                  "title": "功能页配置",
                  "date": {},
                  "permalink": "/reference/function-page-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/1.webp"
                }
              }
            ]
          },
          {
            "title": "frontmatter 配置",
            "link": "/10.配置/10.frontmatter 配置",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": {},
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            }
          },
          {
            "title": "目录页配置",
            "link": "/10.配置/20.目录页配置",
            "frontmatter": {
              "title": "目录页配置",
              "date": {},
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            }
          },
          {
            "title": "功能页配置",
            "link": "/10.配置/30.功能页配置",
            "frontmatter": {
              "title": "功能页配置",
              "date": {},
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          },
          {
            "title": "主题增强拓展",
            "link": "/10.配置/40.主题增强拓展",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": {},
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          }
        ]
      }
    },
    "inv": {
      "01.指南": {
        "filePath": "01.指南/目录",
        "catalogues": [
          {
            "title": "简介",
            "children": [
              {
                "title": "简介",
                "link": "/01.指南/01.简介/01.简介",
                "frontmatter": {
                  "title": "简介",
                  "date": {},
                  "permalink": "/guide/intro",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "快速开始",
                "link": "/01.指南/01.简介/10.快速开始",
                "frontmatter": {
                  "title": "快速开始",
                  "date": {},
                  "permalink": "/guide/quickstart",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 1,
                  "coverImg": "https://vp.teek.top/blog/bg1.webp"
                }
              },
              {
                "title": "结构化目录",
                "link": "/01.指南/01.简介/20.结构化目录",
                "frontmatter": {
                  "title": "结构化目录",
                  "date": {},
                  "permalink": "/guide/directory-structure",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/13.webp"
                }
              }
            ]
          },
          {
            "title": "使用",
            "children": [
              {
                "title": "Markdown 拓展",
                "link": "/01.指南/10.使用/05.Markdown 拓展",
                "frontmatter": {
                  "title": "Markdown 拓展",
                  "date": {},
                  "permalink": "/guide/markdown",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "sticky": 50,
                  "coverImg": "https://vp.teek.top/blog/bg3.webp"
                }
              },
              {
                "title": "摘要与封面",
                "link": "/01.指南/10.使用/10.摘要与封面",
                "frontmatter": {
                  "title": "摘要与封面",
                  "date": {},
                  "permalink": "/guide/summary",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "主题增强",
                "link": "/01.指南/10.使用/15.主题增强",
                "frontmatter": {
                  "title": "主题增强",
                  "date": {},
                  "permalink": "/guide/theme-enhance",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/8.webp"
                }
              },
              {
                "title": "样式增强",
                "link": "/01.指南/10.使用/20.样式增强",
                "frontmatter": {
                  "title": "样式增强",
                  "date": {},
                  "permalink": "/styles-plus",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              },
              {
                "title": "国际化",
                "link": "/01.指南/10.使用/25.国际化",
                "frontmatter": {
                  "title": "国际化",
                  "date": {},
                  "permalink": "/guide/i18n",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "Vite 插件",
                "link": "/01.指南/10.使用/30.Vite 插件",
                "frontmatter": {
                  "title": "Vite 插件",
                  "date": {},
                  "permalink": "/guide/plugins",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/2.webp"
                }
              },
              {
                "title": "站点统计",
                "link": "/01.指南/10.使用/35.站点统计",
                "frontmatter": {
                  "title": "站点统计",
                  "date": {},
                  "permalink": "/guide/statistics",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/4.webp"
                }
              },
              {
                "title": "私密文章",
                "link": "/01.指南/10.使用/45.私密文章",
                "frontmatter": {
                  "title": "私密文章",
                  "date": {},
                  "permalink": "/guide/private",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              }
            ]
          },
          {
            "title": "相关",
            "children": [
              {
                "title": "插槽布局",
                "link": "/01.指南/20.相关/02.插槽布局",
                "frontmatter": {
                  "title": "插槽布局",
                  "date": {},
                  "permalink": "/guide/slot",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "路由钩子",
                "link": "/01.指南/20.相关/05.路由钩子",
                "frontmatter": {
                  "title": "路由钩子",
                  "date": {},
                  "permalink": "/guide/router-hook",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/9.webp"
                }
              },
              {
                "title": "写作排版",
                "link": "/01.指南/20.相关/10.写作排版",
                "frontmatter": {
                  "title": "写作排版",
                  "date": {},
                  "permalink": "/guide/typesetting",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "top": true,
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "鸣谢",
                "link": "/01.指南/20.相关/99.鸣谢",
                "frontmatter": {
                  "title": "鸣谢",
                  "date": {},
                  "permalink": "/thank-they",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              }
            ]
          },
          {
            "title": "开发",
            "children": [
              {
                "title": "开发指南",
                "link": "/01.指南/40.开发/01.开发指南",
                "frontmatter": {
                  "title": "开发指南",
                  "date": {},
                  "permalink": "/guide/dev",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/18.webp"
                }
              },
              {
                "title": "贡献指南",
                "link": "/01.指南/40.开发/05.贡献指南",
                "frontmatter": {
                  "title": "贡献指南",
                  "date": {},
                  "permalink": "/guide/contribution",
                  "categories": [
                    "指南"
                  ],
                  "tags": [
                    "指南"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/6.webp"
                }
              }
            ]
          },
          {
            "title": "Teek原版优化记录",
            "link": "/01.指南/50.Teek原版优化记录",
            "frontmatter": {
              "date": {},
              "title": "Teek原版优化记录",
              "permalink": "/pages/8a2fd7",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/18.webp",
              "top": true,
              "sticky": 4
            }
          },
          {
            "title": "我的项目结构说明",
            "link": "/01.指南/60.我的项目结构说明",
            "frontmatter": {
              "date": {},
              "title": "我的项目结构说明",
              "permalink": "/pages/793982",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/7.webp"
            }
          }
        ]
      },
      "10.配置": {
        "filePath": "10.配置/目录",
        "catalogues": [
          {
            "title": "主题配置",
            "children": [
              {
                "title": "配置简介",
                "link": "/10.配置/01.主题配置/01.配置简介",
                "frontmatter": {
                  "title": "配置简介",
                  "date": {},
                  "permalink": "/reference/config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "top": true,
                  "sticky": 10,
                  "coverImg": "https://vp.teek.top/blog/bg2.webp"
                }
              },
              {
                "title": "全局配置",
                "link": "/10.配置/01.主题配置/05.全局配置",
                "frontmatter": {
                  "title": "全局配置",
                  "date": {},
                  "permalink": "/reference/config/global-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/15.webp"
                }
              },
              {
                "title": "Banner 配置",
                "link": "/10.配置/01.主题配置/10.Banner 配置",
                "frontmatter": {
                  "title": "Banner 配置",
                  "date": {},
                  "permalink": "/reference/banner-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/17.webp"
                }
              },
              {
                "title": "文章列表配置",
                "link": "/10.配置/01.主题配置/15.文章列表配置",
                "frontmatter": {
                  "title": "文章列表配置",
                  "date": {},
                  "permalink": "/reference/post-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/19.webp"
                }
              },
              {
                "title": "卡片栏配置",
                "link": "/10.配置/01.主题配置/20.卡片栏配置",
                "frontmatter": {
                  "title": "卡片栏配置",
                  "date": {},
                  "permalink": "/reference/card-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "页脚配置",
                "link": "/10.配置/01.主题配置/25.页脚配置",
                "frontmatter": {
                  "title": "页脚配置",
                  "date": {},
                  "permalink": "/reference/footer-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/3.webp"
                }
              },
              {
                "title": "文章配置",
                "link": "/10.配置/01.主题配置/30.文章配置",
                "frontmatter": {
                  "title": "文章配置",
                  "date": {},
                  "permalink": "/reference/article-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/12.webp"
                }
              },
              {
                "title": "评论配置",
                "link": "/10.配置/01.主题配置/35.评论配置",
                "frontmatter": {
                  "title": "评论配置",
                  "date": {},
                  "permalink": "/reference/comment-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/7.webp"
                }
              },
              {
                "title": "插件配置",
                "link": "/10.配置/01.主题配置/40.插件配置",
                "frontmatter": {
                  "title": "插件配置",
                  "date": {},
                  "permalink": "/reference/plugin-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/5.webp"
                }
              },
              {
                "title": "功能页配置",
                "link": "/10.配置/01.主题配置/50.功能页配置",
                "frontmatter": {
                  "title": "功能页配置",
                  "date": {},
                  "permalink": "/reference/function-page-config",
                  "categories": [
                    "配置"
                  ],
                  "tags": [
                    "配置"
                  ],
                  "coverImg": "https://onedayxyy.cn/images/1.webp"
                }
              }
            ]
          },
          {
            "title": "frontmatter 配置",
            "link": "/10.配置/10.frontmatter 配置",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": {},
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            }
          },
          {
            "title": "目录页配置",
            "link": "/10.配置/20.目录页配置",
            "frontmatter": {
              "title": "目录页配置",
              "date": {},
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            }
          },
          {
            "title": "功能页配置",
            "link": "/10.配置/30.功能页配置",
            "frontmatter": {
              "title": "功能页配置",
              "date": {},
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          },
          {
            "title": "主题增强拓展",
            "link": "/10.配置/40.主题增强拓展",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": {},
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            }
          }
        ]
      }
    }
  },
  "posts": {
    "allPosts": [
      {
        "url": "/01.指南/01.简介/01.简介.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-03-06 13:25:02",
          "permalink": "/guide/intro",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "简介",
        "date": "2025-03-06 13:25:02",
        "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
      },
      {
        "url": "/01.指南/01.简介/10.快速开始.html",
        "frontmatter": {
          "title": "快速开始",
          "date": "2025-03-06 07:59:25",
          "permalink": "/guide/quickstart",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 1,
          "coverImg": "https://vp.teek.top/blog/bg1.webp"
        },
        "title": "快速开始",
        "date": "2025-03-06 07:59:25",
        "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
      },
      {
        "url": "/01.指南/01.简介/20.结构化目录.html",
        "frontmatter": {
          "title": "结构化目录",
          "date": "2025-03-06 16:14:27",
          "permalink": "/guide/directory-structure",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "结构化目录",
        "date": "2025-03-06 16:14:27",
        "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
      },
      {
        "url": "/01.指南/10.使用/05.Markdown 拓展.html",
        "frontmatter": {
          "title": "Markdown 拓展",
          "date": "2025-03-06 17:55:34",
          "permalink": "/guide/markdown",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 50,
          "coverImg": "https://vp.teek.top/blog/bg3.webp"
        },
        "title": "Markdown 拓展",
        "date": "2025-03-06 17:55:34",
        "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
      },
      {
        "url": "/01.指南/10.使用/10.摘要与封面.html",
        "frontmatter": {
          "title": "摘要与封面",
          "date": "2025-03-08 16:55:04",
          "permalink": "/guide/summary",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "摘要与封面",
        "date": "2025-03-08 16:55:04",
        "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
      },
      {
        "url": "/01.指南/10.使用/15.主题增强.html",
        "frontmatter": {
          "title": "主题增强",
          "date": "2025-03-08 17:30:12",
          "permalink": "/guide/theme-enhance",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "主题增强",
        "date": "2025-03-08 17:30:12",
        "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
      },
      {
        "url": "/01.指南/10.使用/20.样式增强.html",
        "frontmatter": {
          "title": "样式增强",
          "date": "2025-03-19 15:36:36",
          "permalink": "/styles-plus",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "样式增强",
        "date": "2025-03-19 15:36:36",
        "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
      },
      {
        "url": "/01.指南/10.使用/25.国际化.html",
        "frontmatter": {
          "title": "国际化",
          "date": "2025-03-07 15:30:08",
          "permalink": "/guide/i18n",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "国际化",
        "date": "2025-03-07 15:30:08",
        "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
      },
      {
        "url": "/01.指南/10.使用/30.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-06 17:09:17",
          "permalink": "/guide/plugins",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-06 17:09:17",
        "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
      },
      {
        "url": "/01.指南/10.使用/35.站点统计.html",
        "frontmatter": {
          "title": "站点统计",
          "date": "2025-04-06 18:54:55",
          "permalink": "/guide/statistics",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/4.webp"
        },
        "title": "站点统计",
        "date": "2025-04-06 18:54:55",
        "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
      },
      {
        "url": "/01.指南/10.使用/45.私密文章.html",
        "frontmatter": {
          "title": "私密文章",
          "date": "2025-05-19 13:17:02",
          "permalink": "/guide/private",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "私密文章",
        "date": "2025-05-19 13:17:02",
        "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
      },
      {
        "url": "/01.指南/20.相关/02.插槽布局.html",
        "frontmatter": {
          "title": "插槽布局",
          "date": "2025-03-17 17:30:02",
          "permalink": "/guide/slot",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "插槽布局",
        "date": "2025-03-17 17:30:02",
        "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
      },
      {
        "url": "/01.指南/20.相关/05.路由钩子.html",
        "frontmatter": {
          "title": "路由钩子",
          "date": "2025-03-26 17:29:58",
          "permalink": "/guide/router-hook",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "路由钩子",
        "date": "2025-03-26 17:29:58",
        "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
      },
      {
        "url": "/01.指南/20.相关/10.写作排版.html",
        "frontmatter": {
          "title": "写作排版",
          "date": "2025-03-08 18:28:00",
          "permalink": "/guide/typesetting",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "写作排版",
        "date": "2025-03-08 18:28:00",
        "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
      },
      {
        "url": "/01.指南/20.相关/99.鸣谢.html",
        "frontmatter": {
          "title": "鸣谢",
          "date": "2025-03-20 14:14:28",
          "permalink": "/thank-they",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "鸣谢",
        "date": "2025-03-20 14:14:28",
        "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
      },
      {
        "url": "/01.指南/40.开发/01.开发指南.html",
        "frontmatter": {
          "title": "开发指南",
          "date": "2025-03-26 16:31:58",
          "permalink": "/guide/dev",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "开发指南",
        "date": "2025-03-26 16:31:58",
        "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
      },
      {
        "url": "/01.指南/40.开发/05.贡献指南.html",
        "frontmatter": {
          "title": "贡献指南",
          "date": "2025-03-26 16:43:09",
          "permalink": "/guide/contribution",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "贡献指南",
        "date": "2025-03-26 16:43:09",
        "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
      },
      {
        "url": "/01.指南/50.Teek原版优化记录.html",
        "frontmatter": {
          "date": "2025-06-26 18:16:16",
          "title": "Teek原版优化记录",
          "permalink": "/pages/8a2fd7",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/18.webp",
          "top": true,
          "sticky": 4
        },
        "title": "Teek原版优化记录",
        "date": "2025-06-26 18:16:16",
        "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
      },
      {
        "url": "/01.指南/60.我的项目结构说明.html",
        "frontmatter": {
          "date": "2025-06-30 08:21:35",
          "title": "我的项目结构说明",
          "permalink": "/pages/793982",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/7.webp"
        },
        "title": "我的项目结构说明",
        "date": "2025-06-30 08:21:35",
        "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
      },
      {
        "url": "/01.指南/目录.html",
        "frontmatter": {
          "title": "指南",
          "date": "2025-03-30 15:17:35",
          "permalink": "/guide",
          "layout": "page",
          "catalogue": true,
          "path": "01.指南",
          "desc": "Teek 使用指南",
          "sidebar": false,
          "article": false,
          "categories": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "指南",
        "date": "2025-03-30 15:17:35",
        "capture": ""
      },
      {
        "url": "/10.配置/01.主题配置/01.配置简介.html",
        "frontmatter": {
          "title": "配置简介",
          "date": "2025-03-06 09:24:35",
          "permalink": "/reference/config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "sticky": 10,
          "coverImg": "https://vp.teek.top/blog/bg2.webp"
        },
        "title": "配置简介",
        "date": "2025-03-06 09:24:35",
        "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
      },
      {
        "url": "/10.配置/01.主题配置/05.全局配置.html",
        "frontmatter": {
          "title": "全局配置",
          "date": "2025-03-09 15:20:09",
          "permalink": "/reference/config/global-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "全局配置",
        "date": "2025-03-09 15:20:09",
        "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
      },
      {
        "url": "/10.配置/01.主题配置/10.Banner 配置.html",
        "frontmatter": {
          "title": "Banner 配置",
          "date": "2025-03-09 15:22:04",
          "permalink": "/reference/banner-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "Banner 配置",
        "date": "2025-03-09 15:22:04",
        "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
      },
      {
        "url": "/10.配置/01.主题配置/15.文章列表配置.html",
        "frontmatter": {
          "title": "文章列表配置",
          "date": "2025-03-09 15:31:31",
          "permalink": "/reference/post-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "文章列表配置",
        "date": "2025-03-09 15:31:31",
        "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
      },
      {
        "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
        "frontmatter": {
          "title": "卡片栏配置",
          "date": "2025-03-09 15:31:48",
          "permalink": "/reference/card-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "卡片栏配置",
        "date": "2025-03-09 15:31:48",
        "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
      },
      {
        "url": "/10.配置/01.主题配置/25.页脚配置.html",
        "frontmatter": {
          "title": "页脚配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/footer-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "页脚配置",
        "date": "2025-03-09 15:32:13",
        "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
      },
      {
        "url": "/10.配置/01.主题配置/30.文章配置.html",
        "frontmatter": {
          "title": "文章配置",
          "date": "2025-03-09 15:32:33",
          "permalink": "/reference/article-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "文章配置",
        "date": "2025-03-09 15:32:33",
        "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
      },
      {
        "url": "/10.配置/01.主题配置/35.评论配置.html",
        "frontmatter": {
          "title": "评论配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/comment-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        },
        "title": "评论配置",
        "date": "2025-03-09 15:32:13",
        "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
      },
      {
        "url": "/10.配置/01.主题配置/40.插件配置.html",
        "frontmatter": {
          "title": "插件配置",
          "date": "2025-03-09 15:32:59",
          "permalink": "/reference/plugin-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "插件配置",
        "date": "2025-03-09 15:32:59",
        "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
      },
      {
        "url": "/10.配置/01.主题配置/50.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-05-19 12:49:08",
          "permalink": "/reference/function-page-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "功能页配置",
        "date": "2025-05-19 12:49:08",
        "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
      },
      {
        "url": "/10.配置/10.frontmatter 配置.html",
        "frontmatter": {
          "title": "frontmatter 配置",
          "date": "2025-03-07 16:52:36",
          "permalink": "/reference/frontmatter",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "frontmatter 配置",
        "date": "2025-03-07 16:52:36",
        "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
      },
      {
        "url": "/10.配置/20.目录页配置.html",
        "frontmatter": {
          "title": "目录页配置",
          "date": "2025-03-07 15:59:50",
          "permalink": "/reference/catalogue-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录页配置",
        "date": "2025-03-07 15:59:50",
        "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
      },
      {
        "url": "/10.配置/30.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-03-07 16:28:22",
          "permalink": "/reference/function-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "功能页配置",
        "date": "2025-03-07 16:28:22",
        "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
      },
      {
        "url": "/10.配置/40.主题增强拓展.html",
        "frontmatter": {
          "title": "主题增强拓展",
          "date": "2025-03-08 17:46:39",
          "permalink": "/reference/theme-enhance",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "主题增强拓展",
        "date": "2025-03-08 17:46:39",
        "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
      },
      {
        "url": "/10.配置/目录.html",
        "frontmatter": {
          "title": "配置",
          "date": "2025-04-27 18:04:46",
          "permalink": "/reference",
          "layout": "page",
          "catalogue": true,
          "path": "10.配置",
          "desc": "Teek 相关配置",
          "sidebar": false,
          "article": false,
          "categories": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        },
        "title": "配置",
        "date": "2025-04-27 18:04:46",
        "capture": ""
      },
      {
        "url": "/15.主题开发/01.开发思路.html",
        "frontmatter": {
          "title": "开发思路",
          "date": "2025-03-17 15:46:42",
          "permalink": "/develop/intro",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "开发思路",
        "date": "2025-03-17 15:46:42",
        "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
      },
      {
        "url": "/15.主题开发/10.主题配置.html",
        "frontmatter": {
          "title": "主题配置",
          "date": "2025-03-19 02:03:46",
          "permalink": "/develop/config",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "主题配置",
        "date": "2025-03-19 02:03:46",
        "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
      },
      {
        "url": "/15.主题开发/20.目录结构.html",
        "frontmatter": {
          "title": "目录结构",
          "date": "2025-03-18 17:51:06",
          "permalink": "/develop/catalogue",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录结构",
        "date": "2025-03-18 17:51:06",
        "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
      },
      {
        "url": "/15.主题开发/30.组件布局.html",
        "frontmatter": {
          "title": "组件结构",
          "date": "2025-03-18 13:27:53",
          "permalink": "/develop/components",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "组件结构",
        "date": "2025-03-18 13:27:53",
        "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
      },
      {
        "url": "/15.主题开发/40.样式布局.html",
        "frontmatter": {
          "title": "样式布局",
          "date": "2025-03-19 03:57:11",
          "permalink": "/develop/styles",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "样式布局",
        "date": "2025-03-19 03:57:11",
        "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
      },
      {
        "url": "/15.主题开发/60.容器自定义.html",
        "frontmatter": {
          "title": "容器自定义",
          "date": "2025-03-18 17:07:21",
          "permalink": "/develop/container",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "容器自定义",
        "date": "2025-03-18 17:07:21",
        "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
      },
      {
        "url": "/15.主题开发/70.开发技巧.html",
        "frontmatter": {
          "title": "开发技巧",
          "date": "2025-03-31 06:19:33",
          "permalink": "/develop/skill",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "开发技巧",
        "date": "2025-03-31 06:19:33",
        "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
      },
      {
        "url": "/15.主题开发/80.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-19 14:01:57",
          "permalink": "/develop/vite",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-19 14:01:57",
        "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
      },
      {
        "url": "/20.文档/01.linux.html",
        "frontmatter": {
          "title": "运维",
          "date": "2024-12-20 10:50:31",
          "permalink": "/linux",
          "categories": [
            "运维"
          ],
          "tags": [
            "运维"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "运维",
        "date": "2024-12-20 10:50:31",
        "capture": ""
      },
      {
        "url": "/20.文档/05.nginx.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-01-04 06:41:16",
          "permalink": "/nginx",
          "categories": [
            "运维",
            "nginx",
            "简介"
          ],
          "tags": [
            null
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "简介",
        "date": "2025-01-04 06:41:16",
        "capture": ""
      },
      {
        "url": "/20.文档/10.Html.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:52",
          "title": "html",
          "permalink": "/html",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/16.webp"
        },
        "title": "html",
        "date": "2025-06-27 17:57:52",
        "capture": ""
      },
      {
        "url": "/20.文档/100.关于我.html",
        "frontmatter": {
          "title": "关于我",
          "date": "2025-01-03 19:19:48",
          "permalink": "/about-me",
          "categories": [
            "更多"
          ],
          "tags": [
            "关于我"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "关于我",
        "date": "2025-01-03 19:19:48",
        "capture": "关于我\n无心人。"
      },
      {
        "url": "/20.文档/105.关于本站.html",
        "frontmatter": {
          "title": "关于本站",
          "date": "2025-03-13 17:27:01",
          "permalink": "/about-website",
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "categories": [
            "关于本站"
          ],
          "tags": [
            "关于本站"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/11.webp"
        },
        "title": "关于本站",
        "date": "2025-03-13 17:27:01",
        "capture": "&lt;!-- index.md --\n&lt;!-- 五彩纸屑组件 --&gt;\n&lt;confetti /&gt;\n 为什么要创建个人博客\n1. 我始终觉得,任何人只要拥有一个可以在浏览器输入网址,就可以打开的网站,真的超炫酷😜。\n2. 本站作为自己的个人知识库/博客,主要记录下自己的技术文档、工作经验等,主打一个简洁、完整的手把手文档,拒绝埋坑。\n3. 个人博客更加自由,数据可控。而其它公用博客平台限制太多,且有时会存在跑路的风险。\n4. 同时也记录一些生活感悟等,也算是通过文字的方式来记录生活,热爱生活。\n 域名&网名 由来\n个人域名是:`onedayxyy.cn`\n个人网名是:`"
      },
      {
        "url": "/20.文档/110.网站导航.html",
        "frontmatter": {
          "title": "网站导航",
          "date": "2025-03-04 12:37:55",
          "permalink": "/websites",
          "categories": [
            "关于"
          ],
          "tags": [
            "网站导航"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "themeSize": "wide",
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "网站导航",
        "date": "2025-03-04 12:37:55",
        "capture": "&lt;!-- index.md --\n&lt;!-- 五彩纸屑组件 --&gt;\n&lt;confetti /&gt;\n 网站导航\n 我的站点\n```yaml\n- name: 我的博客\n  desc: 明心静性,爱自己\n  img: https://onedayxyy.cn/images/xyy-logo.ico\n  link: https://onedayxyy.cn/\n- name: 我的公众号\n  desc: 公众号\n  img: https://onedayxyy.cn/images/wechat-gzh.jpg\n  link: https://onedayxyy.cn/images"
      },
      {
        "url": "/20.文档/115.留言区.html",
        "frontmatter": {
          "title": "留言区",
          "date": "2022-02-27 22:32:38",
          "permalink": "/liuyanqu",
          "categories": [
            null
          ],
          "tags": [
            null
          ],
          "sidebar": false,
          "article": false,
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        },
        "title": "留言区",
        "date": "2022-02-27 22:32:38",
        "capture": "&lt;iframe class=\"c-viewer__iframe\" src=\"https://sketchfab.com/models/9af0ae87238a4840b95a83f9e6c5cdde/embed?autostart=1&amp;\" id=\"api-frame\" allow=\"autoplay; xr-spatial-tracking\" xr-spatial-tracking=\"true\" allowfullscreen=\"\" width=\"100%\" height=\"300\"\n如果大家遇到了什么问题,欢迎大家留言讨论。\n如果 10s 后评论区还在转圈,可以尝试刷新页面。"
      },
      {
        "url": "/20.文档/120.思考.html",
        "frontmatter": {
          "title": "思考",
          "date": "2025-03-31 07:15:48",
          "permalink": "/thinking",
          "categories": [
            "关于"
          ],
          "tags": [
            "思考"
          ],
          "sidebar": false,
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "思考",
        "date": "2025-03-31 07:15:48",
        "capture": ""
      },
      {
        "url": "/20.文档/15.css.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:57",
          "title": "css",
          "permalink": "/css",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/15.webp"
        },
        "title": "css",
        "date": "2025-06-27 17:57:57",
        "capture": ""
      },
      {
        "url": "/20.文档/20.python.html",
        "frontmatter": {
          "title": "python",
          "date": "2024-12-23 19:17:49",
          "permalink": "/python/",
          "categories": [
            "编程",
            "python"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "python",
        "date": "2024-12-23 19:17:49",
        "capture": ""
      },
      {
        "url": "/20.文档/25.go.html",
        "frontmatter": {
          "title": "go",
          "date": "2024-12-23 19:17:55",
          "permalink": "/go/",
          "categories": [
            "编程",
            "go"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "go",
        "date": "2024-12-23 19:17:55",
        "capture": ""
      },
      {
        "url": "/20.文档/30.博客搭建.html",
        "frontmatter": {
          "title": "博客搭建",
          "date": "2025-03-30 01:16:23",
          "permalink": "/blog",
          "categories": [
            "博客搭建"
          ],
          "tags": [
            "博客搭建"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "博客搭建",
        "date": "2025-03-30 01:16:23",
        "capture": ""
      },
      {
        "url": "/20.文档/35.前端demo.html",
        "frontmatter": {
          "date": "2025-03-14 14:11:24",
          "title": "前端demo",
          "permalink": "/qianduan-demo",
          "categories": [
            "OneWiki",
            "专题",
            "前端demo"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "前端demo",
        "date": "2025-03-14 14:11:24",
        "capture": ""
      },
      {
        "url": "/20.文档/40.git.html",
        "frontmatter": {
          "date": "2025-03-14 19:45:49",
          "title": "git",
          "permalink": "/git",
          "categories": [
            "专题",
            "git"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "git",
        "date": "2025-03-14 19:45:49",
        "capture": ""
      },
      {
        "url": "/20.文档/45.面试.html",
        "frontmatter": {
          "date": "2025-03-14 14:13:39",
          "title": "面试",
          "permalink": "/mianshi",
          "categories": [
            "OneWiki",
            "专题",
            "面试"
          ],
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "面试",
        "date": "2025-03-14 14:13:39",
        "capture": ""
      },
      {
        "url": "/20.文档/50.NAS.html",
        "frontmatter": {
          "date": "2025-05-17 20:48:44",
          "title": "NAS",
          "coverImg": "https://onedayxyy.cn/images/15.webp",
          "permalink": "/NAS",
          "categories": [
            "专题"
          ],
          "tags": [
            "NAS"
          ]
        },
        "title": "NAS",
        "date": "2025-05-17 20:48:44",
        "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
      },
      {
        "url": "/20.文档/55.脚本.html",
        "frontmatter": {
          "date": "2025-03-14 14:12:39",
          "title": "脚本",
          "permalink": "/jiaoben",
          "categories": [
            "OneWiki",
            "专题",
            "脚本"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "脚本",
        "date": "2025-03-14 14:12:39",
        "capture": ""
      },
      {
        "url": "/20.文档/60.工具.html",
        "frontmatter": {
          "date": "2025-03-14 11:16:29",
          "title": "工具",
          "permalink": "/tools",
          "categories": [
            "OneWiki",
            "工具"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "工具",
        "date": "2025-03-14 11:16:29",
        "capture": ""
      },
      {
        "url": "/20.文档/65.Teek-one.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/teek",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/20.文档/70.Typora-One.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/typora-theme-one",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "sticky": 1,
          "top": true,
          "description": "全网最美博客-Teek(知识库&博客二合一)😜",
          "titleTag": "推荐",
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/20.文档/75.音乐.html",
        "frontmatter": {
          "title": "音乐",
          "date": "2024-12-23 19:18:56",
          "permalink": "/music",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "音乐"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "音乐",
        "date": "2024-12-23 19:18:56",
        "capture": "待下载"
      },
      {
        "url": "/20.文档/80.电影.html",
        "frontmatter": {
          "title": "电影",
          "date": "2024-12-23 19:18:56",
          "permalink": "/movie",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "电影"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "电影",
        "date": "2024-12-23 19:18:56",
        "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
      },
      {
        "url": "/20.文档/85.精神小屋.html",
        "frontmatter": {
          "title": "精神小屋",
          "date": "2025-01-03 19:19:05",
          "permalink": "/love",
          "categories": [
            "精神小屋"
          ],
          "tags": [
            "精神小屋"
          ],
          "article": false,
          "comment": false,
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        },
        "title": "精神小屋",
        "date": "2025-01-03 19:19:05",
        "capture": "明心静性,爱自己"
      },
      {
        "url": "/20.文档/90.时间管理.html",
        "frontmatter": {
          "date": "2025-06-18 15:14:31",
          "title": "时间管理",
          "permalink": "/time-plan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "/img/bg/12.webp"
        },
        "title": "时间管理",
        "date": "2025-06-18 15:14:31",
        "capture": ""
      },
      {
        "url": "/20.文档/95.文案.html",
        "frontmatter": {
          "date": "2025-06-05 15:37:02",
          "title": "文案",
          "permalink": "/wenan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "文案",
        "date": "2025-06-05 15:37:02",
        "capture": ""
      },
      {
        "url": "/@pages/archivesPage.html",
        "frontmatter": {
          "title": "归档",
          "permalink": "/archives",
          "archivesPage": true,
          "layout": "page",
          "article": false,
          "sidebar": false
        },
        "title": "归档",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/@pages/articleOverviewPage.html",
        "frontmatter": {
          "title": "文章清单",
          "permalink": "/articleOverview",
          "articleOverviewPage": true,
          "layout": "page",
          "article": false,
          "sidebar": false
        },
        "title": "文章清单",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/@pages/categoriesPage.html",
        "frontmatter": {
          "title": "分类",
          "categoriesPage": true,
          "permalink": "/categories",
          "article": false,
          "layout": "home"
        },
        "title": "分类",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/@pages/loginPage.html",
        "frontmatter": {
          "permalink": "/login",
          "layout": false,
          "loginPage": true,
          "logo": "/teek-logo-large.png",
          "leftImg": "/login/bg-1.png",
          "article": false
        },
        "title": "html",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/@pages/riskLinkPage.html",
        "frontmatter": {
          "permalink": "/risk-link",
          "layout": false,
          "riskLinkPage": true,
          "logo": "/favicon.ico",
          "name": "One Blog",
          "article": false
        },
        "title": "html",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/@pages/tagsPage.html",
        "frontmatter": {
          "title": "标签",
          "permalink": "/tags",
          "tagsPage": true,
          "article": false,
          "layout": "home"
        },
        "title": "标签",
        "date": "2025-07-03 00:49:51",
        "capture": ""
      },
      {
        "url": "/api-examples.html",
        "frontmatter": {
          "outline": "deep"
        },
        "title": "Runtime API Examples",
        "date": "2025-07-03 00:49:51",
        "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
      },
      {
        "url": "/",
        "frontmatter": {
          "layout": "home",
          "tk": {
            "teekHome": false,
            "features": [
              {
                "title": "初见",
                "description": "茫茫人海,我们相遇",
                "link": "/",
                "imgUrl": "/img/xyy-1.webp"
              },
              {
                "title": "幸福",
                "description": "与你一起,真的幸福",
                "link": "/",
                "imgUrl": "/img/xyy-2.webp"
              },
              {
                "title": "后来",
                "description": "再见竟是,再也不见",
                "link": "/",
                "imgUrl": "/img/xyy-3.webp"
              }
            ]
          },
          "hero": {
            "name": "Teek",
            "text": "VitePress 主题",
            "tagline": "✨一个轻量、简洁高效、灵活配置,易于扩展的 VitePress 主题",
            "actions": [
              {
                "theme": "brand",
                "text": "开始",
                "link": "/guide/quickstart"
              },
              {
                "theme": "alt",
                "text": "配置",
                "link": "/reference/config"
              }
            ],
            "image": {
              "src": "/teek-logo-large.png",
              "alt": "Teek"
            }
          },
          "features": [
            {
              "icon": "📖",
              "title": "结构化 && 体系化",
              "details": "自动生成侧边栏、目录页、索引页、面包屑等,轻松构建一个结构化知识库。"
            },
            {
              "icon": "🎉",
              "title": "碎片化 & 个性化",
              "details": "提供快速构建知识的碎片化形态,并提供大量个性化的主题配置。"
            },
            {
              "icon": "🎇",
              "title": "文档风 & 博客风",
              "details": "支持通过配置随意切换两种模式,支持个人博客、文档站、知识库等场景。"
            },
            {
              "icon": "📝",
              "title": "专注内容",
              "details": "只需 Markdown 即可轻松创建美观的文档站点,配合多维索引快速定位每个知识点。"
            }
          ]
        },
        "title": "",
        "date": "2025-07-03 00:49:51",
        "capture": "&lt;!--  💡 反馈交流\n在使用过程中有任何问题和想法,请给我提 Issue。 你也可以在 Issue 查看别人提的问题和解决方案。\n或者加入我们的交流群(添加我的微信并备注 &lt;mark\n&lt;img src=\"https://gcore.jsdelivr.net/gh/Kele-Bingtang/static/index/20250412000919.png\" alt=\"添加我微信备注「进群」\" style=\"width: 180px;\" /&gt;\n如果图片链接失效,可以在微信右上角 -&gt; 添加朋友,然后搜索teekers 来添加我的微信。 --&gt;\n&lt;st"
      },
      {
        "url": "/markdown-examples.html",
        "frontmatter": {
          "date": "2025-06-28 05:42:37",
          "title": "markdown-examples",
          "permalink": "/pages/10b155",
          "categories": [
            null
          ],
          "coverImg": "/img/bg/9.webp"
        },
        "title": "markdown-examples",
        "date": "2025-06-28 05:42:37",
        "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
      }
    ],
    "originPosts": [
      {
        "url": "/01.指南/01.简介/01.简介.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-03-06 13:25:02",
          "permalink": "/guide/intro",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "简介",
        "date": "2025-03-06 13:25:02",
        "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
      },
      {
        "url": "/01.指南/01.简介/10.快速开始.html",
        "frontmatter": {
          "title": "快速开始",
          "date": "2025-03-06 07:59:25",
          "permalink": "/guide/quickstart",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 1,
          "coverImg": "https://vp.teek.top/blog/bg1.webp"
        },
        "title": "快速开始",
        "date": "2025-03-06 07:59:25",
        "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
      },
      {
        "url": "/01.指南/01.简介/20.结构化目录.html",
        "frontmatter": {
          "title": "结构化目录",
          "date": "2025-03-06 16:14:27",
          "permalink": "/guide/directory-structure",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "结构化目录",
        "date": "2025-03-06 16:14:27",
        "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
      },
      {
        "url": "/01.指南/10.使用/05.Markdown 拓展.html",
        "frontmatter": {
          "title": "Markdown 拓展",
          "date": "2025-03-06 17:55:34",
          "permalink": "/guide/markdown",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 50,
          "coverImg": "https://vp.teek.top/blog/bg3.webp"
        },
        "title": "Markdown 拓展",
        "date": "2025-03-06 17:55:34",
        "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
      },
      {
        "url": "/01.指南/10.使用/10.摘要与封面.html",
        "frontmatter": {
          "title": "摘要与封面",
          "date": "2025-03-08 16:55:04",
          "permalink": "/guide/summary",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "摘要与封面",
        "date": "2025-03-08 16:55:04",
        "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
      },
      {
        "url": "/01.指南/10.使用/15.主题增强.html",
        "frontmatter": {
          "title": "主题增强",
          "date": "2025-03-08 17:30:12",
          "permalink": "/guide/theme-enhance",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "主题增强",
        "date": "2025-03-08 17:30:12",
        "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
      },
      {
        "url": "/01.指南/10.使用/20.样式增强.html",
        "frontmatter": {
          "title": "样式增强",
          "date": "2025-03-19 15:36:36",
          "permalink": "/styles-plus",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "样式增强",
        "date": "2025-03-19 15:36:36",
        "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
      },
      {
        "url": "/01.指南/10.使用/25.国际化.html",
        "frontmatter": {
          "title": "国际化",
          "date": "2025-03-07 15:30:08",
          "permalink": "/guide/i18n",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "国际化",
        "date": "2025-03-07 15:30:08",
        "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
      },
      {
        "url": "/01.指南/10.使用/30.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-06 17:09:17",
          "permalink": "/guide/plugins",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-06 17:09:17",
        "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
      },
      {
        "url": "/01.指南/10.使用/35.站点统计.html",
        "frontmatter": {
          "title": "站点统计",
          "date": "2025-04-06 18:54:55",
          "permalink": "/guide/statistics",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/4.webp"
        },
        "title": "站点统计",
        "date": "2025-04-06 18:54:55",
        "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
      },
      {
        "url": "/01.指南/10.使用/45.私密文章.html",
        "frontmatter": {
          "title": "私密文章",
          "date": "2025-05-19 13:17:02",
          "permalink": "/guide/private",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "私密文章",
        "date": "2025-05-19 13:17:02",
        "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
      },
      {
        "url": "/01.指南/20.相关/02.插槽布局.html",
        "frontmatter": {
          "title": "插槽布局",
          "date": "2025-03-17 17:30:02",
          "permalink": "/guide/slot",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "插槽布局",
        "date": "2025-03-17 17:30:02",
        "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
      },
      {
        "url": "/01.指南/20.相关/05.路由钩子.html",
        "frontmatter": {
          "title": "路由钩子",
          "date": "2025-03-26 17:29:58",
          "permalink": "/guide/router-hook",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "路由钩子",
        "date": "2025-03-26 17:29:58",
        "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
      },
      {
        "url": "/01.指南/20.相关/10.写作排版.html",
        "frontmatter": {
          "title": "写作排版",
          "date": "2025-03-08 18:28:00",
          "permalink": "/guide/typesetting",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "写作排版",
        "date": "2025-03-08 18:28:00",
        "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
      },
      {
        "url": "/01.指南/20.相关/99.鸣谢.html",
        "frontmatter": {
          "title": "鸣谢",
          "date": "2025-03-20 14:14:28",
          "permalink": "/thank-they",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "鸣谢",
        "date": "2025-03-20 14:14:28",
        "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
      },
      {
        "url": "/01.指南/40.开发/01.开发指南.html",
        "frontmatter": {
          "title": "开发指南",
          "date": "2025-03-26 16:31:58",
          "permalink": "/guide/dev",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "开发指南",
        "date": "2025-03-26 16:31:58",
        "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
      },
      {
        "url": "/01.指南/40.开发/05.贡献指南.html",
        "frontmatter": {
          "title": "贡献指南",
          "date": "2025-03-26 16:43:09",
          "permalink": "/guide/contribution",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "贡献指南",
        "date": "2025-03-26 16:43:09",
        "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
      },
      {
        "url": "/01.指南/50.Teek原版优化记录.html",
        "frontmatter": {
          "date": "2025-06-26 18:16:16",
          "title": "Teek原版优化记录",
          "permalink": "/pages/8a2fd7",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/18.webp",
          "top": true,
          "sticky": 4
        },
        "title": "Teek原版优化记录",
        "date": "2025-06-26 18:16:16",
        "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
      },
      {
        "url": "/01.指南/60.我的项目结构说明.html",
        "frontmatter": {
          "date": "2025-06-30 08:21:35",
          "title": "我的项目结构说明",
          "permalink": "/pages/793982",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/7.webp"
        },
        "title": "我的项目结构说明",
        "date": "2025-06-30 08:21:35",
        "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
      },
      {
        "url": "/10.配置/01.主题配置/01.配置简介.html",
        "frontmatter": {
          "title": "配置简介",
          "date": "2025-03-06 09:24:35",
          "permalink": "/reference/config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "sticky": 10,
          "coverImg": "https://vp.teek.top/blog/bg2.webp"
        },
        "title": "配置简介",
        "date": "2025-03-06 09:24:35",
        "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
      },
      {
        "url": "/10.配置/01.主题配置/05.全局配置.html",
        "frontmatter": {
          "title": "全局配置",
          "date": "2025-03-09 15:20:09",
          "permalink": "/reference/config/global-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "全局配置",
        "date": "2025-03-09 15:20:09",
        "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
      },
      {
        "url": "/10.配置/01.主题配置/10.Banner 配置.html",
        "frontmatter": {
          "title": "Banner 配置",
          "date": "2025-03-09 15:22:04",
          "permalink": "/reference/banner-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "Banner 配置",
        "date": "2025-03-09 15:22:04",
        "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
      },
      {
        "url": "/10.配置/01.主题配置/15.文章列表配置.html",
        "frontmatter": {
          "title": "文章列表配置",
          "date": "2025-03-09 15:31:31",
          "permalink": "/reference/post-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "文章列表配置",
        "date": "2025-03-09 15:31:31",
        "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
      },
      {
        "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
        "frontmatter": {
          "title": "卡片栏配置",
          "date": "2025-03-09 15:31:48",
          "permalink": "/reference/card-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "卡片栏配置",
        "date": "2025-03-09 15:31:48",
        "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
      },
      {
        "url": "/10.配置/01.主题配置/25.页脚配置.html",
        "frontmatter": {
          "title": "页脚配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/footer-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "页脚配置",
        "date": "2025-03-09 15:32:13",
        "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
      },
      {
        "url": "/10.配置/01.主题配置/30.文章配置.html",
        "frontmatter": {
          "title": "文章配置",
          "date": "2025-03-09 15:32:33",
          "permalink": "/reference/article-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "文章配置",
        "date": "2025-03-09 15:32:33",
        "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
      },
      {
        "url": "/10.配置/01.主题配置/35.评论配置.html",
        "frontmatter": {
          "title": "评论配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/comment-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        },
        "title": "评论配置",
        "date": "2025-03-09 15:32:13",
        "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
      },
      {
        "url": "/10.配置/01.主题配置/40.插件配置.html",
        "frontmatter": {
          "title": "插件配置",
          "date": "2025-03-09 15:32:59",
          "permalink": "/reference/plugin-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "插件配置",
        "date": "2025-03-09 15:32:59",
        "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
      },
      {
        "url": "/10.配置/01.主题配置/50.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-05-19 12:49:08",
          "permalink": "/reference/function-page-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "功能页配置",
        "date": "2025-05-19 12:49:08",
        "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
      },
      {
        "url": "/10.配置/10.frontmatter 配置.html",
        "frontmatter": {
          "title": "frontmatter 配置",
          "date": "2025-03-07 16:52:36",
          "permalink": "/reference/frontmatter",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "frontmatter 配置",
        "date": "2025-03-07 16:52:36",
        "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
      },
      {
        "url": "/10.配置/20.目录页配置.html",
        "frontmatter": {
          "title": "目录页配置",
          "date": "2025-03-07 15:59:50",
          "permalink": "/reference/catalogue-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录页配置",
        "date": "2025-03-07 15:59:50",
        "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
      },
      {
        "url": "/10.配置/30.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-03-07 16:28:22",
          "permalink": "/reference/function-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "功能页配置",
        "date": "2025-03-07 16:28:22",
        "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
      },
      {
        "url": "/10.配置/40.主题增强拓展.html",
        "frontmatter": {
          "title": "主题增强拓展",
          "date": "2025-03-08 17:46:39",
          "permalink": "/reference/theme-enhance",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "主题增强拓展",
        "date": "2025-03-08 17:46:39",
        "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
      },
      {
        "url": "/15.主题开发/01.开发思路.html",
        "frontmatter": {
          "title": "开发思路",
          "date": "2025-03-17 15:46:42",
          "permalink": "/develop/intro",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "开发思路",
        "date": "2025-03-17 15:46:42",
        "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
      },
      {
        "url": "/15.主题开发/10.主题配置.html",
        "frontmatter": {
          "title": "主题配置",
          "date": "2025-03-19 02:03:46",
          "permalink": "/develop/config",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "主题配置",
        "date": "2025-03-19 02:03:46",
        "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
      },
      {
        "url": "/15.主题开发/20.目录结构.html",
        "frontmatter": {
          "title": "目录结构",
          "date": "2025-03-18 17:51:06",
          "permalink": "/develop/catalogue",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录结构",
        "date": "2025-03-18 17:51:06",
        "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
      },
      {
        "url": "/15.主题开发/30.组件布局.html",
        "frontmatter": {
          "title": "组件结构",
          "date": "2025-03-18 13:27:53",
          "permalink": "/develop/components",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "组件结构",
        "date": "2025-03-18 13:27:53",
        "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
      },
      {
        "url": "/15.主题开发/40.样式布局.html",
        "frontmatter": {
          "title": "样式布局",
          "date": "2025-03-19 03:57:11",
          "permalink": "/develop/styles",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "样式布局",
        "date": "2025-03-19 03:57:11",
        "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
      },
      {
        "url": "/15.主题开发/60.容器自定义.html",
        "frontmatter": {
          "title": "容器自定义",
          "date": "2025-03-18 17:07:21",
          "permalink": "/develop/container",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "容器自定义",
        "date": "2025-03-18 17:07:21",
        "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
      },
      {
        "url": "/15.主题开发/70.开发技巧.html",
        "frontmatter": {
          "title": "开发技巧",
          "date": "2025-03-31 06:19:33",
          "permalink": "/develop/skill",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "开发技巧",
        "date": "2025-03-31 06:19:33",
        "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
      },
      {
        "url": "/15.主题开发/80.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-19 14:01:57",
          "permalink": "/develop/vite",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-19 14:01:57",
        "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
      },
      {
        "url": "/20.文档/01.linux.html",
        "frontmatter": {
          "title": "运维",
          "date": "2024-12-20 10:50:31",
          "permalink": "/linux",
          "categories": [
            "运维"
          ],
          "tags": [
            "运维"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "运维",
        "date": "2024-12-20 10:50:31",
        "capture": ""
      },
      {
        "url": "/20.文档/05.nginx.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-01-04 06:41:16",
          "permalink": "/nginx",
          "categories": [
            "运维",
            "nginx",
            "简介"
          ],
          "tags": [
            null
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "简介",
        "date": "2025-01-04 06:41:16",
        "capture": ""
      },
      {
        "url": "/20.文档/10.Html.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:52",
          "title": "html",
          "permalink": "/html",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/16.webp"
        },
        "title": "html",
        "date": "2025-06-27 17:57:52",
        "capture": ""
      },
      {
        "url": "/20.文档/15.css.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:57",
          "title": "css",
          "permalink": "/css",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/15.webp"
        },
        "title": "css",
        "date": "2025-06-27 17:57:57",
        "capture": ""
      },
      {
        "url": "/20.文档/20.python.html",
        "frontmatter": {
          "title": "python",
          "date": "2024-12-23 19:17:49",
          "permalink": "/python/",
          "categories": [
            "编程",
            "python"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "python",
        "date": "2024-12-23 19:17:49",
        "capture": ""
      },
      {
        "url": "/20.文档/25.go.html",
        "frontmatter": {
          "title": "go",
          "date": "2024-12-23 19:17:55",
          "permalink": "/go/",
          "categories": [
            "编程",
            "go"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "go",
        "date": "2024-12-23 19:17:55",
        "capture": ""
      },
      {
        "url": "/20.文档/30.博客搭建.html",
        "frontmatter": {
          "title": "博客搭建",
          "date": "2025-03-30 01:16:23",
          "permalink": "/blog",
          "categories": [
            "博客搭建"
          ],
          "tags": [
            "博客搭建"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "博客搭建",
        "date": "2025-03-30 01:16:23",
        "capture": ""
      },
      {
        "url": "/20.文档/35.前端demo.html",
        "frontmatter": {
          "date": "2025-03-14 14:11:24",
          "title": "前端demo",
          "permalink": "/qianduan-demo",
          "categories": [
            "OneWiki",
            "专题",
            "前端demo"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "前端demo",
        "date": "2025-03-14 14:11:24",
        "capture": ""
      },
      {
        "url": "/20.文档/40.git.html",
        "frontmatter": {
          "date": "2025-03-14 19:45:49",
          "title": "git",
          "permalink": "/git",
          "categories": [
            "专题",
            "git"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "git",
        "date": "2025-03-14 19:45:49",
        "capture": ""
      },
      {
        "url": "/20.文档/45.面试.html",
        "frontmatter": {
          "date": "2025-03-14 14:13:39",
          "title": "面试",
          "permalink": "/mianshi",
          "categories": [
            "OneWiki",
            "专题",
            "面试"
          ],
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "面试",
        "date": "2025-03-14 14:13:39",
        "capture": ""
      },
      {
        "url": "/20.文档/50.NAS.html",
        "frontmatter": {
          "date": "2025-05-17 20:48:44",
          "title": "NAS",
          "coverImg": "https://onedayxyy.cn/images/15.webp",
          "permalink": "/NAS",
          "categories": [
            "专题"
          ],
          "tags": [
            "NAS"
          ]
        },
        "title": "NAS",
        "date": "2025-05-17 20:48:44",
        "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
      },
      {
        "url": "/20.文档/55.脚本.html",
        "frontmatter": {
          "date": "2025-03-14 14:12:39",
          "title": "脚本",
          "permalink": "/jiaoben",
          "categories": [
            "OneWiki",
            "专题",
            "脚本"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "脚本",
        "date": "2025-03-14 14:12:39",
        "capture": ""
      },
      {
        "url": "/20.文档/60.工具.html",
        "frontmatter": {
          "date": "2025-03-14 11:16:29",
          "title": "工具",
          "permalink": "/tools",
          "categories": [
            "OneWiki",
            "工具"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "工具",
        "date": "2025-03-14 11:16:29",
        "capture": ""
      },
      {
        "url": "/20.文档/65.Teek-one.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/teek",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/20.文档/70.Typora-One.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/typora-theme-one",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "sticky": 1,
          "top": true,
          "description": "全网最美博客-Teek(知识库&博客二合一)😜",
          "titleTag": "推荐",
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/20.文档/75.音乐.html",
        "frontmatter": {
          "title": "音乐",
          "date": "2024-12-23 19:18:56",
          "permalink": "/music",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "音乐"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "音乐",
        "date": "2024-12-23 19:18:56",
        "capture": "待下载"
      },
      {
        "url": "/20.文档/80.电影.html",
        "frontmatter": {
          "title": "电影",
          "date": "2024-12-23 19:18:56",
          "permalink": "/movie",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "电影"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "电影",
        "date": "2024-12-23 19:18:56",
        "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
      },
      {
        "url": "/20.文档/90.时间管理.html",
        "frontmatter": {
          "date": "2025-06-18 15:14:31",
          "title": "时间管理",
          "permalink": "/time-plan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "/img/bg/12.webp"
        },
        "title": "时间管理",
        "date": "2025-06-18 15:14:31",
        "capture": ""
      },
      {
        "url": "/20.文档/95.文案.html",
        "frontmatter": {
          "date": "2025-06-05 15:37:02",
          "title": "文案",
          "permalink": "/wenan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "文案",
        "date": "2025-06-05 15:37:02",
        "capture": ""
      },
      {
        "url": "/api-examples.html",
        "frontmatter": {
          "outline": "deep"
        },
        "title": "Runtime API Examples",
        "date": "2025-07-03 00:49:51",
        "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
      },
      {
        "url": "/markdown-examples.html",
        "frontmatter": {
          "date": "2025-06-28 05:42:37",
          "title": "markdown-examples",
          "permalink": "/pages/10b155",
          "categories": [
            null
          ],
          "coverImg": "/img/bg/9.webp"
        },
        "title": "markdown-examples",
        "date": "2025-06-28 05:42:37",
        "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
      }
    ],
    "sortPostsByDateAndSticky": [
      {
        "url": "/20.文档/70.Typora-One.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/typora-theme-one",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "sticky": 1,
          "top": true,
          "description": "全网最美博客-Teek(知识库&博客二合一)😜",
          "titleTag": "推荐",
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/01.指南/01.简介/10.快速开始.html",
        "frontmatter": {
          "title": "快速开始",
          "date": "2025-03-06 07:59:25",
          "permalink": "/guide/quickstart",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 1,
          "coverImg": "https://vp.teek.top/blog/bg1.webp"
        },
        "title": "快速开始",
        "date": "2025-03-06 07:59:25",
        "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
      },
      {
        "url": "/01.指南/50.Teek原版优化记录.html",
        "frontmatter": {
          "date": "2025-06-26 18:16:16",
          "title": "Teek原版优化记录",
          "permalink": "/pages/8a2fd7",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/18.webp",
          "top": true,
          "sticky": 4
        },
        "title": "Teek原版优化记录",
        "date": "2025-06-26 18:16:16",
        "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
      },
      {
        "url": "/10.配置/01.主题配置/01.配置简介.html",
        "frontmatter": {
          "title": "配置简介",
          "date": "2025-03-06 09:24:35",
          "permalink": "/reference/config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "sticky": 10,
          "coverImg": "https://vp.teek.top/blog/bg2.webp"
        },
        "title": "配置简介",
        "date": "2025-03-06 09:24:35",
        "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
      },
      {
        "url": "/01.指南/10.使用/05.Markdown 拓展.html",
        "frontmatter": {
          "title": "Markdown 拓展",
          "date": "2025-03-06 17:55:34",
          "permalink": "/guide/markdown",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 50,
          "coverImg": "https://vp.teek.top/blog/bg3.webp"
        },
        "title": "Markdown 拓展",
        "date": "2025-03-06 17:55:34",
        "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
      },
      {
        "url": "/api-examples.html",
        "frontmatter": {
          "outline": "deep"
        },
        "title": "Runtime API Examples",
        "date": "2025-07-03 00:49:51",
        "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
      },
      {
        "url": "/01.指南/60.我的项目结构说明.html",
        "frontmatter": {
          "date": "2025-06-30 08:21:35",
          "title": "我的项目结构说明",
          "permalink": "/pages/793982",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/7.webp"
        },
        "title": "我的项目结构说明",
        "date": "2025-06-30 08:21:35",
        "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
      },
      {
        "url": "/markdown-examples.html",
        "frontmatter": {
          "date": "2025-06-28 05:42:37",
          "title": "markdown-examples",
          "permalink": "/pages/10b155",
          "categories": [
            null
          ],
          "coverImg": "/img/bg/9.webp"
        },
        "title": "markdown-examples",
        "date": "2025-06-28 05:42:37",
        "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
      },
      {
        "url": "/20.文档/15.css.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:57",
          "title": "css",
          "permalink": "/css",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/15.webp"
        },
        "title": "css",
        "date": "2025-06-27 17:57:57",
        "capture": ""
      },
      {
        "url": "/20.文档/10.Html.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:52",
          "title": "html",
          "permalink": "/html",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/16.webp"
        },
        "title": "html",
        "date": "2025-06-27 17:57:52",
        "capture": ""
      },
      {
        "url": "/20.文档/90.时间管理.html",
        "frontmatter": {
          "date": "2025-06-18 15:14:31",
          "title": "时间管理",
          "permalink": "/time-plan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "/img/bg/12.webp"
        },
        "title": "时间管理",
        "date": "2025-06-18 15:14:31",
        "capture": ""
      },
      {
        "url": "/20.文档/95.文案.html",
        "frontmatter": {
          "date": "2025-06-05 15:37:02",
          "title": "文案",
          "permalink": "/wenan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "文案",
        "date": "2025-06-05 15:37:02",
        "capture": ""
      },
      {
        "url": "/01.指南/10.使用/45.私密文章.html",
        "frontmatter": {
          "title": "私密文章",
          "date": "2025-05-19 13:17:02",
          "permalink": "/guide/private",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "私密文章",
        "date": "2025-05-19 13:17:02",
        "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
      },
      {
        "url": "/10.配置/01.主题配置/50.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-05-19 12:49:08",
          "permalink": "/reference/function-page-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "功能页配置",
        "date": "2025-05-19 12:49:08",
        "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
      },
      {
        "url": "/20.文档/50.NAS.html",
        "frontmatter": {
          "date": "2025-05-17 20:48:44",
          "title": "NAS",
          "coverImg": "https://onedayxyy.cn/images/15.webp",
          "permalink": "/NAS",
          "categories": [
            "专题"
          ],
          "tags": [
            "NAS"
          ]
        },
        "title": "NAS",
        "date": "2025-05-17 20:48:44",
        "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
      },
      {
        "url": "/01.指南/10.使用/35.站点统计.html",
        "frontmatter": {
          "title": "站点统计",
          "date": "2025-04-06 18:54:55",
          "permalink": "/guide/statistics",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/4.webp"
        },
        "title": "站点统计",
        "date": "2025-04-06 18:54:55",
        "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
      },
      {
        "url": "/15.主题开发/70.开发技巧.html",
        "frontmatter": {
          "title": "开发技巧",
          "date": "2025-03-31 06:19:33",
          "permalink": "/develop/skill",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "开发技巧",
        "date": "2025-03-31 06:19:33",
        "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
      },
      {
        "url": "/20.文档/30.博客搭建.html",
        "frontmatter": {
          "title": "博客搭建",
          "date": "2025-03-30 01:16:23",
          "permalink": "/blog",
          "categories": [
            "博客搭建"
          ],
          "tags": [
            "博客搭建"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "博客搭建",
        "date": "2025-03-30 01:16:23",
        "capture": ""
      },
      {
        "url": "/01.指南/20.相关/05.路由钩子.html",
        "frontmatter": {
          "title": "路由钩子",
          "date": "2025-03-26 17:29:58",
          "permalink": "/guide/router-hook",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "路由钩子",
        "date": "2025-03-26 17:29:58",
        "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
      },
      {
        "url": "/01.指南/40.开发/05.贡献指南.html",
        "frontmatter": {
          "title": "贡献指南",
          "date": "2025-03-26 16:43:09",
          "permalink": "/guide/contribution",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "贡献指南",
        "date": "2025-03-26 16:43:09",
        "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
      },
      {
        "url": "/01.指南/40.开发/01.开发指南.html",
        "frontmatter": {
          "title": "开发指南",
          "date": "2025-03-26 16:31:58",
          "permalink": "/guide/dev",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "开发指南",
        "date": "2025-03-26 16:31:58",
        "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
      },
      {
        "url": "/01.指南/20.相关/99.鸣谢.html",
        "frontmatter": {
          "title": "鸣谢",
          "date": "2025-03-20 14:14:28",
          "permalink": "/thank-they",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "鸣谢",
        "date": "2025-03-20 14:14:28",
        "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
      },
      {
        "url": "/01.指南/10.使用/20.样式增强.html",
        "frontmatter": {
          "title": "样式增强",
          "date": "2025-03-19 15:36:36",
          "permalink": "/styles-plus",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "样式增强",
        "date": "2025-03-19 15:36:36",
        "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
      },
      {
        "url": "/15.主题开发/80.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-19 14:01:57",
          "permalink": "/develop/vite",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-19 14:01:57",
        "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
      },
      {
        "url": "/15.主题开发/40.样式布局.html",
        "frontmatter": {
          "title": "样式布局",
          "date": "2025-03-19 03:57:11",
          "permalink": "/develop/styles",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "样式布局",
        "date": "2025-03-19 03:57:11",
        "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
      },
      {
        "url": "/15.主题开发/10.主题配置.html",
        "frontmatter": {
          "title": "主题配置",
          "date": "2025-03-19 02:03:46",
          "permalink": "/develop/config",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "主题配置",
        "date": "2025-03-19 02:03:46",
        "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
      },
      {
        "url": "/15.主题开发/20.目录结构.html",
        "frontmatter": {
          "title": "目录结构",
          "date": "2025-03-18 17:51:06",
          "permalink": "/develop/catalogue",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录结构",
        "date": "2025-03-18 17:51:06",
        "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
      },
      {
        "url": "/15.主题开发/60.容器自定义.html",
        "frontmatter": {
          "title": "容器自定义",
          "date": "2025-03-18 17:07:21",
          "permalink": "/develop/container",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "容器自定义",
        "date": "2025-03-18 17:07:21",
        "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
      },
      {
        "url": "/15.主题开发/30.组件布局.html",
        "frontmatter": {
          "title": "组件结构",
          "date": "2025-03-18 13:27:53",
          "permalink": "/develop/components",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "组件结构",
        "date": "2025-03-18 13:27:53",
        "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
      },
      {
        "url": "/01.指南/20.相关/02.插槽布局.html",
        "frontmatter": {
          "title": "插槽布局",
          "date": "2025-03-17 17:30:02",
          "permalink": "/guide/slot",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "插槽布局",
        "date": "2025-03-17 17:30:02",
        "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
      },
      {
        "url": "/15.主题开发/01.开发思路.html",
        "frontmatter": {
          "title": "开发思路",
          "date": "2025-03-17 15:46:42",
          "permalink": "/develop/intro",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "开发思路",
        "date": "2025-03-17 15:46:42",
        "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
      },
      {
        "url": "/20.文档/40.git.html",
        "frontmatter": {
          "date": "2025-03-14 19:45:49",
          "title": "git",
          "permalink": "/git",
          "categories": [
            "专题",
            "git"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "git",
        "date": "2025-03-14 19:45:49",
        "capture": ""
      },
      {
        "url": "/20.文档/45.面试.html",
        "frontmatter": {
          "date": "2025-03-14 14:13:39",
          "title": "面试",
          "permalink": "/mianshi",
          "categories": [
            "OneWiki",
            "专题",
            "面试"
          ],
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "面试",
        "date": "2025-03-14 14:13:39",
        "capture": ""
      },
      {
        "url": "/20.文档/55.脚本.html",
        "frontmatter": {
          "date": "2025-03-14 14:12:39",
          "title": "脚本",
          "permalink": "/jiaoben",
          "categories": [
            "OneWiki",
            "专题",
            "脚本"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "脚本",
        "date": "2025-03-14 14:12:39",
        "capture": ""
      },
      {
        "url": "/20.文档/35.前端demo.html",
        "frontmatter": {
          "date": "2025-03-14 14:11:24",
          "title": "前端demo",
          "permalink": "/qianduan-demo",
          "categories": [
            "OneWiki",
            "专题",
            "前端demo"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "前端demo",
        "date": "2025-03-14 14:11:24",
        "capture": ""
      },
      {
        "url": "/20.文档/60.工具.html",
        "frontmatter": {
          "date": "2025-03-14 11:16:29",
          "title": "工具",
          "permalink": "/tools",
          "categories": [
            "OneWiki",
            "工具"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "工具",
        "date": "2025-03-14 11:16:29",
        "capture": ""
      },
      {
        "url": "/20.文档/65.Teek-one.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/teek",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/10.配置/01.主题配置/40.插件配置.html",
        "frontmatter": {
          "title": "插件配置",
          "date": "2025-03-09 15:32:59",
          "permalink": "/reference/plugin-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "插件配置",
        "date": "2025-03-09 15:32:59",
        "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
      },
      {
        "url": "/10.配置/01.主题配置/30.文章配置.html",
        "frontmatter": {
          "title": "文章配置",
          "date": "2025-03-09 15:32:33",
          "permalink": "/reference/article-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "文章配置",
        "date": "2025-03-09 15:32:33",
        "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
      },
      {
        "url": "/10.配置/01.主题配置/25.页脚配置.html",
        "frontmatter": {
          "title": "页脚配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/footer-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "页脚配置",
        "date": "2025-03-09 15:32:13",
        "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
      },
      {
        "url": "/10.配置/01.主题配置/35.评论配置.html",
        "frontmatter": {
          "title": "评论配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/comment-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        },
        "title": "评论配置",
        "date": "2025-03-09 15:32:13",
        "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
      },
      {
        "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
        "frontmatter": {
          "title": "卡片栏配置",
          "date": "2025-03-09 15:31:48",
          "permalink": "/reference/card-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "卡片栏配置",
        "date": "2025-03-09 15:31:48",
        "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
      },
      {
        "url": "/10.配置/01.主题配置/15.文章列表配置.html",
        "frontmatter": {
          "title": "文章列表配置",
          "date": "2025-03-09 15:31:31",
          "permalink": "/reference/post-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "文章列表配置",
        "date": "2025-03-09 15:31:31",
        "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
      },
      {
        "url": "/10.配置/01.主题配置/10.Banner 配置.html",
        "frontmatter": {
          "title": "Banner 配置",
          "date": "2025-03-09 15:22:04",
          "permalink": "/reference/banner-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "Banner 配置",
        "date": "2025-03-09 15:22:04",
        "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
      },
      {
        "url": "/10.配置/01.主题配置/05.全局配置.html",
        "frontmatter": {
          "title": "全局配置",
          "date": "2025-03-09 15:20:09",
          "permalink": "/reference/config/global-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "全局配置",
        "date": "2025-03-09 15:20:09",
        "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
      },
      {
        "url": "/01.指南/20.相关/10.写作排版.html",
        "frontmatter": {
          "title": "写作排版",
          "date": "2025-03-08 18:28:00",
          "permalink": "/guide/typesetting",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "写作排版",
        "date": "2025-03-08 18:28:00",
        "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
      },
      {
        "url": "/10.配置/40.主题增强拓展.html",
        "frontmatter": {
          "title": "主题增强拓展",
          "date": "2025-03-08 17:46:39",
          "permalink": "/reference/theme-enhance",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "主题增强拓展",
        "date": "2025-03-08 17:46:39",
        "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
      },
      {
        "url": "/01.指南/10.使用/15.主题增强.html",
        "frontmatter": {
          "title": "主题增强",
          "date": "2025-03-08 17:30:12",
          "permalink": "/guide/theme-enhance",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "主题增强",
        "date": "2025-03-08 17:30:12",
        "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
      },
      {
        "url": "/01.指南/10.使用/10.摘要与封面.html",
        "frontmatter": {
          "title": "摘要与封面",
          "date": "2025-03-08 16:55:04",
          "permalink": "/guide/summary",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "摘要与封面",
        "date": "2025-03-08 16:55:04",
        "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
      },
      {
        "url": "/10.配置/10.frontmatter 配置.html",
        "frontmatter": {
          "title": "frontmatter 配置",
          "date": "2025-03-07 16:52:36",
          "permalink": "/reference/frontmatter",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "frontmatter 配置",
        "date": "2025-03-07 16:52:36",
        "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
      },
      {
        "url": "/10.配置/30.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-03-07 16:28:22",
          "permalink": "/reference/function-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "功能页配置",
        "date": "2025-03-07 16:28:22",
        "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
      },
      {
        "url": "/10.配置/20.目录页配置.html",
        "frontmatter": {
          "title": "目录页配置",
          "date": "2025-03-07 15:59:50",
          "permalink": "/reference/catalogue-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录页配置",
        "date": "2025-03-07 15:59:50",
        "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
      },
      {
        "url": "/01.指南/10.使用/25.国际化.html",
        "frontmatter": {
          "title": "国际化",
          "date": "2025-03-07 15:30:08",
          "permalink": "/guide/i18n",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "国际化",
        "date": "2025-03-07 15:30:08",
        "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
      },
      {
        "url": "/01.指南/10.使用/30.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-06 17:09:17",
          "permalink": "/guide/plugins",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-06 17:09:17",
        "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
      },
      {
        "url": "/01.指南/01.简介/20.结构化目录.html",
        "frontmatter": {
          "title": "结构化目录",
          "date": "2025-03-06 16:14:27",
          "permalink": "/guide/directory-structure",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "结构化目录",
        "date": "2025-03-06 16:14:27",
        "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
      },
      {
        "url": "/01.指南/01.简介/01.简介.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-03-06 13:25:02",
          "permalink": "/guide/intro",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "简介",
        "date": "2025-03-06 13:25:02",
        "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
      },
      {
        "url": "/20.文档/05.nginx.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-01-04 06:41:16",
          "permalink": "/nginx",
          "categories": [
            "运维",
            "nginx",
            "简介"
          ],
          "tags": [
            null
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "简介",
        "date": "2025-01-04 06:41:16",
        "capture": ""
      },
      {
        "url": "/20.文档/75.音乐.html",
        "frontmatter": {
          "title": "音乐",
          "date": "2024-12-23 19:18:56",
          "permalink": "/music",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "音乐"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "音乐",
        "date": "2024-12-23 19:18:56",
        "capture": "待下载"
      },
      {
        "url": "/20.文档/80.电影.html",
        "frontmatter": {
          "title": "电影",
          "date": "2024-12-23 19:18:56",
          "permalink": "/movie",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "电影"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "电影",
        "date": "2024-12-23 19:18:56",
        "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
      },
      {
        "url": "/20.文档/25.go.html",
        "frontmatter": {
          "title": "go",
          "date": "2024-12-23 19:17:55",
          "permalink": "/go/",
          "categories": [
            "编程",
            "go"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "go",
        "date": "2024-12-23 19:17:55",
        "capture": ""
      },
      {
        "url": "/20.文档/20.python.html",
        "frontmatter": {
          "title": "python",
          "date": "2024-12-23 19:17:49",
          "permalink": "/python/",
          "categories": [
            "编程",
            "python"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "python",
        "date": "2024-12-23 19:17:49",
        "capture": ""
      },
      {
        "url": "/20.文档/01.linux.html",
        "frontmatter": {
          "title": "运维",
          "date": "2024-12-20 10:50:31",
          "permalink": "/linux",
          "categories": [
            "运维"
          ],
          "tags": [
            "运维"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "运维",
        "date": "2024-12-20 10:50:31",
        "capture": ""
      }
    ],
    "sortPostsByDate": [
      {
        "url": "/api-examples.html",
        "frontmatter": {
          "outline": "deep"
        },
        "title": "Runtime API Examples",
        "date": "2025-07-03 00:49:51",
        "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
      },
      {
        "url": "/01.指南/60.我的项目结构说明.html",
        "frontmatter": {
          "date": "2025-06-30 08:21:35",
          "title": "我的项目结构说明",
          "permalink": "/pages/793982",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/7.webp"
        },
        "title": "我的项目结构说明",
        "date": "2025-06-30 08:21:35",
        "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
      },
      {
        "url": "/markdown-examples.html",
        "frontmatter": {
          "date": "2025-06-28 05:42:37",
          "title": "markdown-examples",
          "permalink": "/pages/10b155",
          "categories": [
            null
          ],
          "coverImg": "/img/bg/9.webp"
        },
        "title": "markdown-examples",
        "date": "2025-06-28 05:42:37",
        "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
      },
      {
        "url": "/20.文档/15.css.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:57",
          "title": "css",
          "permalink": "/css",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/15.webp"
        },
        "title": "css",
        "date": "2025-06-27 17:57:57",
        "capture": ""
      },
      {
        "url": "/20.文档/10.Html.html",
        "frontmatter": {
          "date": "2025-06-27 17:57:52",
          "title": "html",
          "permalink": "/html",
          "categories": [
            "文档"
          ],
          "coverImg": "/img/bg/16.webp"
        },
        "title": "html",
        "date": "2025-06-27 17:57:52",
        "capture": ""
      },
      {
        "url": "/01.指南/50.Teek原版优化记录.html",
        "frontmatter": {
          "date": "2025-06-26 18:16:16",
          "title": "Teek原版优化记录",
          "permalink": "/pages/8a2fd7",
          "categories": [
            "指南"
          ],
          "coverImg": "/img/bg/18.webp",
          "top": true,
          "sticky": 4
        },
        "title": "Teek原版优化记录",
        "date": "2025-06-26 18:16:16",
        "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
      },
      {
        "url": "/20.文档/90.时间管理.html",
        "frontmatter": {
          "date": "2025-06-18 15:14:31",
          "title": "时间管理",
          "permalink": "/time-plan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "/img/bg/12.webp"
        },
        "title": "时间管理",
        "date": "2025-06-18 15:14:31",
        "capture": ""
      },
      {
        "url": "/20.文档/95.文案.html",
        "frontmatter": {
          "date": "2025-06-05 15:37:02",
          "title": "文案",
          "permalink": "/wenan",
          "categories": [
            "精神小屋"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "文案",
        "date": "2025-06-05 15:37:02",
        "capture": ""
      },
      {
        "url": "/01.指南/10.使用/45.私密文章.html",
        "frontmatter": {
          "title": "私密文章",
          "date": "2025-05-19 13:17:02",
          "permalink": "/guide/private",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "私密文章",
        "date": "2025-05-19 13:17:02",
        "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
      },
      {
        "url": "/10.配置/01.主题配置/50.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-05-19 12:49:08",
          "permalink": "/reference/function-page-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "功能页配置",
        "date": "2025-05-19 12:49:08",
        "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
      },
      {
        "url": "/20.文档/50.NAS.html",
        "frontmatter": {
          "date": "2025-05-17 20:48:44",
          "title": "NAS",
          "coverImg": "https://onedayxyy.cn/images/15.webp",
          "permalink": "/NAS",
          "categories": [
            "专题"
          ],
          "tags": [
            "NAS"
          ]
        },
        "title": "NAS",
        "date": "2025-05-17 20:48:44",
        "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
      },
      {
        "url": "/01.指南/10.使用/35.站点统计.html",
        "frontmatter": {
          "title": "站点统计",
          "date": "2025-04-06 18:54:55",
          "permalink": "/guide/statistics",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/4.webp"
        },
        "title": "站点统计",
        "date": "2025-04-06 18:54:55",
        "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
      },
      {
        "url": "/15.主题开发/70.开发技巧.html",
        "frontmatter": {
          "title": "开发技巧",
          "date": "2025-03-31 06:19:33",
          "permalink": "/develop/skill",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "开发技巧",
        "date": "2025-03-31 06:19:33",
        "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
      },
      {
        "url": "/20.文档/30.博客搭建.html",
        "frontmatter": {
          "title": "博客搭建",
          "date": "2025-03-30 01:16:23",
          "permalink": "/blog",
          "categories": [
            "博客搭建"
          ],
          "tags": [
            "博客搭建"
          ],
          "coverImg": "https://onedayxyy.cn/images/1.webp"
        },
        "title": "博客搭建",
        "date": "2025-03-30 01:16:23",
        "capture": ""
      },
      {
        "url": "/01.指南/20.相关/05.路由钩子.html",
        "frontmatter": {
          "title": "路由钩子",
          "date": "2025-03-26 17:29:58",
          "permalink": "/guide/router-hook",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "路由钩子",
        "date": "2025-03-26 17:29:58",
        "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
      },
      {
        "url": "/01.指南/40.开发/05.贡献指南.html",
        "frontmatter": {
          "title": "贡献指南",
          "date": "2025-03-26 16:43:09",
          "permalink": "/guide/contribution",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "贡献指南",
        "date": "2025-03-26 16:43:09",
        "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
      },
      {
        "url": "/01.指南/40.开发/01.开发指南.html",
        "frontmatter": {
          "title": "开发指南",
          "date": "2025-03-26 16:31:58",
          "permalink": "/guide/dev",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "开发指南",
        "date": "2025-03-26 16:31:58",
        "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
      },
      {
        "url": "/01.指南/20.相关/99.鸣谢.html",
        "frontmatter": {
          "title": "鸣谢",
          "date": "2025-03-20 14:14:28",
          "permalink": "/thank-they",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "鸣谢",
        "date": "2025-03-20 14:14:28",
        "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
      },
      {
        "url": "/01.指南/10.使用/20.样式增强.html",
        "frontmatter": {
          "title": "样式增强",
          "date": "2025-03-19 15:36:36",
          "permalink": "/styles-plus",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "样式增强",
        "date": "2025-03-19 15:36:36",
        "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
      },
      {
        "url": "/15.主题开发/80.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-19 14:01:57",
          "permalink": "/develop/vite",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/16.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-19 14:01:57",
        "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
      },
      {
        "url": "/15.主题开发/40.样式布局.html",
        "frontmatter": {
          "title": "样式布局",
          "date": "2025-03-19 03:57:11",
          "permalink": "/develop/styles",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/9.webp"
        },
        "title": "样式布局",
        "date": "2025-03-19 03:57:11",
        "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
      },
      {
        "url": "/15.主题开发/10.主题配置.html",
        "frontmatter": {
          "title": "主题配置",
          "date": "2025-03-19 02:03:46",
          "permalink": "/develop/config",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "主题配置",
        "date": "2025-03-19 02:03:46",
        "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
      },
      {
        "url": "/15.主题开发/20.目录结构.html",
        "frontmatter": {
          "title": "目录结构",
          "date": "2025-03-18 17:51:06",
          "permalink": "/develop/catalogue",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录结构",
        "date": "2025-03-18 17:51:06",
        "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
      },
      {
        "url": "/15.主题开发/60.容器自定义.html",
        "frontmatter": {
          "title": "容器自定义",
          "date": "2025-03-18 17:07:21",
          "permalink": "/develop/container",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "容器自定义",
        "date": "2025-03-18 17:07:21",
        "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
      },
      {
        "url": "/15.主题开发/30.组件布局.html",
        "frontmatter": {
          "title": "组件结构",
          "date": "2025-03-18 13:27:53",
          "permalink": "/develop/components",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "组件结构",
        "date": "2025-03-18 13:27:53",
        "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
      },
      {
        "url": "/01.指南/20.相关/02.插槽布局.html",
        "frontmatter": {
          "title": "插槽布局",
          "date": "2025-03-17 17:30:02",
          "permalink": "/guide/slot",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "插槽布局",
        "date": "2025-03-17 17:30:02",
        "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
      },
      {
        "url": "/15.主题开发/01.开发思路.html",
        "frontmatter": {
          "title": "开发思路",
          "date": "2025-03-17 15:46:42",
          "permalink": "/develop/intro",
          "categories": [
            "主题开发"
          ],
          "tags": [
            "主题开发"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "开发思路",
        "date": "2025-03-17 15:46:42",
        "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
      },
      {
        "url": "/20.文档/40.git.html",
        "frontmatter": {
          "date": "2025-03-14 19:45:49",
          "title": "git",
          "permalink": "/git",
          "categories": [
            "专题",
            "git"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "git",
        "date": "2025-03-14 19:45:49",
        "capture": ""
      },
      {
        "url": "/20.文档/45.面试.html",
        "frontmatter": {
          "date": "2025-03-14 14:13:39",
          "title": "面试",
          "permalink": "/mianshi",
          "categories": [
            "OneWiki",
            "专题",
            "面试"
          ],
          "coverImg": "https://onedayxyy.cn/images/10.webp"
        },
        "title": "面试",
        "date": "2025-03-14 14:13:39",
        "capture": ""
      },
      {
        "url": "/20.文档/55.脚本.html",
        "frontmatter": {
          "date": "2025-03-14 14:12:39",
          "title": "脚本",
          "permalink": "/jiaoben",
          "categories": [
            "OneWiki",
            "专题",
            "脚本"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "脚本",
        "date": "2025-03-14 14:12:39",
        "capture": ""
      },
      {
        "url": "/20.文档/35.前端demo.html",
        "frontmatter": {
          "date": "2025-03-14 14:11:24",
          "title": "前端demo",
          "permalink": "/qianduan-demo",
          "categories": [
            "OneWiki",
            "专题",
            "前端demo"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "前端demo",
        "date": "2025-03-14 14:11:24",
        "capture": ""
      },
      {
        "url": "/20.文档/60.工具.html",
        "frontmatter": {
          "date": "2025-03-14 11:16:29",
          "title": "工具",
          "permalink": "/tools",
          "categories": [
            "OneWiki",
            "工具"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "工具",
        "date": "2025-03-14 11:16:29",
        "capture": ""
      },
      {
        "url": "/20.文档/65.Teek-one.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/teek",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/20.文档/70.Typora-One.html",
        "frontmatter": {
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "permalink": "/typora-theme-one",
          "categories": [
            "teek"
          ],
          "tags": [
            "teek"
          ],
          "sticky": 1,
          "top": true,
          "description": "全网最美博客-Teek(知识库&博客二合一)😜",
          "titleTag": "推荐",
          "coverImg": "https://onedayxyy.cn/images/6.webp"
        },
        "title": "Teek-One",
        "date": "2025-03-09 15:55:02",
        "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
      },
      {
        "url": "/10.配置/01.主题配置/40.插件配置.html",
        "frontmatter": {
          "title": "插件配置",
          "date": "2025-03-09 15:32:59",
          "permalink": "/reference/plugin-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "插件配置",
        "date": "2025-03-09 15:32:59",
        "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
      },
      {
        "url": "/10.配置/01.主题配置/30.文章配置.html",
        "frontmatter": {
          "title": "文章配置",
          "date": "2025-03-09 15:32:33",
          "permalink": "/reference/article-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "文章配置",
        "date": "2025-03-09 15:32:33",
        "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
      },
      {
        "url": "/10.配置/01.主题配置/25.页脚配置.html",
        "frontmatter": {
          "title": "页脚配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/footer-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "页脚配置",
        "date": "2025-03-09 15:32:13",
        "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
      },
      {
        "url": "/10.配置/01.主题配置/35.评论配置.html",
        "frontmatter": {
          "title": "评论配置",
          "date": "2025-03-09 15:32:13",
          "permalink": "/reference/comment-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/7.webp"
        },
        "title": "评论配置",
        "date": "2025-03-09 15:32:13",
        "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
      },
      {
        "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
        "frontmatter": {
          "title": "卡片栏配置",
          "date": "2025-03-09 15:31:48",
          "permalink": "/reference/card-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "卡片栏配置",
        "date": "2025-03-09 15:31:48",
        "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
      },
      {
        "url": "/10.配置/01.主题配置/15.文章列表配置.html",
        "frontmatter": {
          "title": "文章列表配置",
          "date": "2025-03-09 15:31:31",
          "permalink": "/reference/post-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "文章列表配置",
        "date": "2025-03-09 15:31:31",
        "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
      },
      {
        "url": "/10.配置/01.主题配置/10.Banner 配置.html",
        "frontmatter": {
          "title": "Banner 配置",
          "date": "2025-03-09 15:22:04",
          "permalink": "/reference/banner-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "Banner 配置",
        "date": "2025-03-09 15:22:04",
        "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
      },
      {
        "url": "/10.配置/01.主题配置/05.全局配置.html",
        "frontmatter": {
          "title": "全局配置",
          "date": "2025-03-09 15:20:09",
          "permalink": "/reference/config/global-config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "全局配置",
        "date": "2025-03-09 15:20:09",
        "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
      },
      {
        "url": "/01.指南/20.相关/10.写作排版.html",
        "frontmatter": {
          "title": "写作排版",
          "date": "2025-03-08 18:28:00",
          "permalink": "/guide/typesetting",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/19.webp"
        },
        "title": "写作排版",
        "date": "2025-03-08 18:28:00",
        "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
      },
      {
        "url": "/10.配置/40.主题增强拓展.html",
        "frontmatter": {
          "title": "主题增强拓展",
          "date": "2025-03-08 17:46:39",
          "permalink": "/reference/theme-enhance",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "主题增强拓展",
        "date": "2025-03-08 17:46:39",
        "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
      },
      {
        "url": "/01.指南/10.使用/15.主题增强.html",
        "frontmatter": {
          "title": "主题增强",
          "date": "2025-03-08 17:30:12",
          "permalink": "/guide/theme-enhance",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "主题增强",
        "date": "2025-03-08 17:30:12",
        "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
      },
      {
        "url": "/01.指南/10.使用/10.摘要与封面.html",
        "frontmatter": {
          "title": "摘要与封面",
          "date": "2025-03-08 16:55:04",
          "permalink": "/guide/summary",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/8.webp"
        },
        "title": "摘要与封面",
        "date": "2025-03-08 16:55:04",
        "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
      },
      {
        "url": "/10.配置/10.frontmatter 配置.html",
        "frontmatter": {
          "title": "frontmatter 配置",
          "date": "2025-03-07 16:52:36",
          "permalink": "/reference/frontmatter",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "coverImg": "https://onedayxyy.cn/images/18.webp"
        },
        "title": "frontmatter 配置",
        "date": "2025-03-07 16:52:36",
        "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
      },
      {
        "url": "/10.配置/30.功能页配置.html",
        "frontmatter": {
          "title": "功能页配置",
          "date": "2025-03-07 16:28:22",
          "permalink": "/reference/function-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "功能页配置",
        "date": "2025-03-07 16:28:22",
        "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
      },
      {
        "url": "/10.配置/20.目录页配置.html",
        "frontmatter": {
          "title": "目录页配置",
          "date": "2025-03-07 15:59:50",
          "permalink": "/reference/catalogue-page",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "coverImg": "https://onedayxyy.cn/images/14.webp"
        },
        "title": "目录页配置",
        "date": "2025-03-07 15:59:50",
        "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
      },
      {
        "url": "/01.指南/10.使用/25.国际化.html",
        "frontmatter": {
          "title": "国际化",
          "date": "2025-03-07 15:30:08",
          "permalink": "/guide/i18n",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/17.webp"
        },
        "title": "国际化",
        "date": "2025-03-07 15:30:08",
        "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
      },
      {
        "url": "/01.指南/10.使用/05.Markdown 拓展.html",
        "frontmatter": {
          "title": "Markdown 拓展",
          "date": "2025-03-06 17:55:34",
          "permalink": "/guide/markdown",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 50,
          "coverImg": "https://vp.teek.top/blog/bg3.webp"
        },
        "title": "Markdown 拓展",
        "date": "2025-03-06 17:55:34",
        "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
      },
      {
        "url": "/01.指南/10.使用/30.Vite 插件.html",
        "frontmatter": {
          "title": "Vite 插件",
          "date": "2025-03-06 17:09:17",
          "permalink": "/guide/plugins",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/2.webp"
        },
        "title": "Vite 插件",
        "date": "2025-03-06 17:09:17",
        "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
      },
      {
        "url": "/01.指南/01.简介/20.结构化目录.html",
        "frontmatter": {
          "title": "结构化目录",
          "date": "2025-03-06 16:14:27",
          "permalink": "/guide/directory-structure",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "结构化目录",
        "date": "2025-03-06 16:14:27",
        "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
      },
      {
        "url": "/01.指南/01.简介/01.简介.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-03-06 13:25:02",
          "permalink": "/guide/intro",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "coverImg": "https://onedayxyy.cn/images/12.webp"
        },
        "title": "简介",
        "date": "2025-03-06 13:25:02",
        "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
      },
      {
        "url": "/10.配置/01.主题配置/01.配置简介.html",
        "frontmatter": {
          "title": "配置简介",
          "date": "2025-03-06 09:24:35",
          "permalink": "/reference/config",
          "categories": [
            "配置"
          ],
          "tags": [
            "配置"
          ],
          "top": true,
          "sticky": 10,
          "coverImg": "https://vp.teek.top/blog/bg2.webp"
        },
        "title": "配置简介",
        "date": "2025-03-06 09:24:35",
        "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
      },
      {
        "url": "/01.指南/01.简介/10.快速开始.html",
        "frontmatter": {
          "title": "快速开始",
          "date": "2025-03-06 07:59:25",
          "permalink": "/guide/quickstart",
          "categories": [
            "指南"
          ],
          "tags": [
            "指南"
          ],
          "sticky": 1,
          "coverImg": "https://vp.teek.top/blog/bg1.webp"
        },
        "title": "快速开始",
        "date": "2025-03-06 07:59:25",
        "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
      },
      {
        "url": "/20.文档/05.nginx.html",
        "frontmatter": {
          "title": "简介",
          "date": "2025-01-04 06:41:16",
          "permalink": "/nginx",
          "categories": [
            "运维",
            "nginx",
            "简介"
          ],
          "tags": [
            null
          ],
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "简介",
        "date": "2025-01-04 06:41:16",
        "capture": ""
      },
      {
        "url": "/20.文档/75.音乐.html",
        "frontmatter": {
          "title": "音乐",
          "date": "2024-12-23 19:18:56",
          "permalink": "/music",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "音乐"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "音乐",
        "date": "2024-12-23 19:18:56",
        "capture": "待下载"
      },
      {
        "url": "/20.文档/80.电影.html",
        "frontmatter": {
          "title": "电影",
          "date": "2024-12-23 19:18:56",
          "permalink": "/movie",
          "categories": [
            "娱乐"
          ],
          "tags": [
            "电影"
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/3.webp"
        },
        "title": "电影",
        "date": "2024-12-23 19:18:56",
        "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
      },
      {
        "url": "/20.文档/25.go.html",
        "frontmatter": {
          "title": "go",
          "date": "2024-12-23 19:17:55",
          "permalink": "/go/",
          "categories": [
            "编程",
            "go"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/15.webp"
        },
        "title": "go",
        "date": "2024-12-23 19:17:55",
        "capture": ""
      },
      {
        "url": "/20.文档/20.python.html",
        "frontmatter": {
          "title": "python",
          "date": "2024-12-23 19:17:49",
          "permalink": "/python/",
          "categories": [
            "编程",
            "python"
          ],
          "tags": [
            null
          ],
          "author": {
            "name": "One",
            "link": "https://wiki.onedayxyy.cn/"
          },
          "coverImg": "https://onedayxyy.cn/images/5.webp"
        },
        "title": "python",
        "date": "2024-12-23 19:17:49",
        "capture": ""
      },
      {
        "url": "/20.文档/01.linux.html",
        "frontmatter": {
          "title": "运维",
          "date": "2024-12-20 10:50:31",
          "permalink": "/linux",
          "categories": [
            "运维"
          ],
          "tags": [
            "运维"
          ],
          "coverImg": "https://onedayxyy.cn/images/13.webp"
        },
        "title": "运维",
        "date": "2024-12-20 10:50:31",
        "capture": ""
      }
    ],
    "groupPostsByYear": {
      "2025 ": [
        {
          "url": "/api-examples.html",
          "frontmatter": {
            "outline": "deep"
          },
          "title": "Runtime API Examples",
          "date": "2025-07-03 00:49:51",
          "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
        },
        {
          "url": "/01.指南/60.我的项目结构说明.html",
          "frontmatter": {
            "date": "2025-06-30 08:21:35",
            "title": "我的项目结构说明",
            "permalink": "/pages/793982",
            "categories": [
              "指南"
            ],
            "coverImg": "/img/bg/7.webp"
          },
          "title": "我的项目结构说明",
          "date": "2025-06-30 08:21:35",
          "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
        },
        {
          "url": "/markdown-examples.html",
          "frontmatter": {
            "date": "2025-06-28 05:42:37",
            "title": "markdown-examples",
            "permalink": "/pages/10b155",
            "categories": [
              null
            ],
            "coverImg": "/img/bg/9.webp"
          },
          "title": "markdown-examples",
          "date": "2025-06-28 05:42:37",
          "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
        },
        {
          "url": "/20.文档/15.css.html",
          "frontmatter": {
            "date": "2025-06-27 17:57:57",
            "title": "css",
            "permalink": "/css",
            "categories": [
              "文档"
            ],
            "coverImg": "/img/bg/15.webp"
          },
          "title": "css",
          "date": "2025-06-27 17:57:57",
          "capture": ""
        },
        {
          "url": "/20.文档/10.Html.html",
          "frontmatter": {
            "date": "2025-06-27 17:57:52",
            "title": "html",
            "permalink": "/html",
            "categories": [
              "文档"
            ],
            "coverImg": "/img/bg/16.webp"
          },
          "title": "html",
          "date": "2025-06-27 17:57:52",
          "capture": ""
        },
        {
          "url": "/01.指南/50.Teek原版优化记录.html",
          "frontmatter": {
            "date": "2025-06-26 18:16:16",
            "title": "Teek原版优化记录",
            "permalink": "/pages/8a2fd7",
            "categories": [
              "指南"
            ],
            "coverImg": "/img/bg/18.webp",
            "top": true,
            "sticky": 4
          },
          "title": "Teek原版优化记录",
          "date": "2025-06-26 18:16:16",
          "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
        },
        {
          "url": "/20.文档/90.时间管理.html",
          "frontmatter": {
            "date": "2025-06-18 15:14:31",
            "title": "时间管理",
            "permalink": "/time-plan",
            "categories": [
              "精神小屋"
            ],
            "coverImg": "/img/bg/12.webp"
          },
          "title": "时间管理",
          "date": "2025-06-18 15:14:31",
          "capture": ""
        },
        {
          "url": "/20.文档/95.文案.html",
          "frontmatter": {
            "date": "2025-06-05 15:37:02",
            "title": "文案",
            "permalink": "/wenan",
            "categories": [
              "精神小屋"
            ],
            "coverImg": "https://onedayxyy.cn/images/18.webp"
          },
          "title": "文案",
          "date": "2025-06-05 15:37:02",
          "capture": ""
        },
        {
          "url": "/01.指南/10.使用/45.私密文章.html",
          "frontmatter": {
            "title": "私密文章",
            "date": "2025-05-19 13:17:02",
            "permalink": "/guide/private",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "私密文章",
          "date": "2025-05-19 13:17:02",
          "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
        },
        {
          "url": "/10.配置/01.主题配置/50.功能页配置.html",
          "frontmatter": {
            "title": "功能页配置",
            "date": "2025-05-19 12:49:08",
            "permalink": "/reference/function-page-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/1.webp"
          },
          "title": "功能页配置",
          "date": "2025-05-19 12:49:08",
          "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
        },
        {
          "url": "/20.文档/50.NAS.html",
          "frontmatter": {
            "date": "2025-05-17 20:48:44",
            "title": "NAS",
            "coverImg": "https://onedayxyy.cn/images/15.webp",
            "permalink": "/NAS",
            "categories": [
              "专题"
            ],
            "tags": [
              "NAS"
            ]
          },
          "title": "NAS",
          "date": "2025-05-17 20:48:44",
          "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
        },
        {
          "url": "/01.指南/10.使用/35.站点统计.html",
          "frontmatter": {
            "title": "站点统计",
            "date": "2025-04-06 18:54:55",
            "permalink": "/guide/statistics",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/4.webp"
          },
          "title": "站点统计",
          "date": "2025-04-06 18:54:55",
          "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
        },
        {
          "url": "/15.主题开发/70.开发技巧.html",
          "frontmatter": {
            "title": "开发技巧",
            "date": "2025-03-31 06:19:33",
            "permalink": "/develop/skill",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/6.webp"
          },
          "title": "开发技巧",
          "date": "2025-03-31 06:19:33",
          "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
        },
        {
          "url": "/20.文档/30.博客搭建.html",
          "frontmatter": {
            "title": "博客搭建",
            "date": "2025-03-30 01:16:23",
            "permalink": "/blog",
            "categories": [
              "博客搭建"
            ],
            "tags": [
              "博客搭建"
            ],
            "coverImg": "https://onedayxyy.cn/images/1.webp"
          },
          "title": "博客搭建",
          "date": "2025-03-30 01:16:23",
          "capture": ""
        },
        {
          "url": "/01.指南/20.相关/05.路由钩子.html",
          "frontmatter": {
            "title": "路由钩子",
            "date": "2025-03-26 17:29:58",
            "permalink": "/guide/router-hook",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "top": true,
            "coverImg": "https://onedayxyy.cn/images/9.webp"
          },
          "title": "路由钩子",
          "date": "2025-03-26 17:29:58",
          "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
        },
        {
          "url": "/01.指南/40.开发/05.贡献指南.html",
          "frontmatter": {
            "title": "贡献指南",
            "date": "2025-03-26 16:43:09",
            "permalink": "/guide/contribution",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/6.webp"
          },
          "title": "贡献指南",
          "date": "2025-03-26 16:43:09",
          "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
        },
        {
          "url": "/01.指南/40.开发/01.开发指南.html",
          "frontmatter": {
            "title": "开发指南",
            "date": "2025-03-26 16:31:58",
            "permalink": "/guide/dev",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/18.webp"
          },
          "title": "开发指南",
          "date": "2025-03-26 16:31:58",
          "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
        },
        {
          "url": "/01.指南/20.相关/99.鸣谢.html",
          "frontmatter": {
            "title": "鸣谢",
            "date": "2025-03-20 14:14:28",
            "permalink": "/thank-they",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/17.webp"
          },
          "title": "鸣谢",
          "date": "2025-03-20 14:14:28",
          "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
        },
        {
          "url": "/01.指南/10.使用/20.样式增强.html",
          "frontmatter": {
            "title": "样式增强",
            "date": "2025-03-19 15:36:36",
            "permalink": "/styles-plus",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/6.webp"
          },
          "title": "样式增强",
          "date": "2025-03-19 15:36:36",
          "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
        },
        {
          "url": "/15.主题开发/80.Vite 插件.html",
          "frontmatter": {
            "title": "Vite 插件",
            "date": "2025-03-19 14:01:57",
            "permalink": "/develop/vite",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/16.webp"
          },
          "title": "Vite 插件",
          "date": "2025-03-19 14:01:57",
          "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
        },
        {
          "url": "/15.主题开发/40.样式布局.html",
          "frontmatter": {
            "title": "样式布局",
            "date": "2025-03-19 03:57:11",
            "permalink": "/develop/styles",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/9.webp"
          },
          "title": "样式布局",
          "date": "2025-03-19 03:57:11",
          "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
        },
        {
          "url": "/15.主题开发/10.主题配置.html",
          "frontmatter": {
            "title": "主题配置",
            "date": "2025-03-19 02:03:46",
            "permalink": "/develop/config",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/19.webp"
          },
          "title": "主题配置",
          "date": "2025-03-19 02:03:46",
          "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
        },
        {
          "url": "/15.主题开发/20.目录结构.html",
          "frontmatter": {
            "title": "目录结构",
            "date": "2025-03-18 17:51:06",
            "permalink": "/develop/catalogue",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/14.webp"
          },
          "title": "目录结构",
          "date": "2025-03-18 17:51:06",
          "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
        },
        {
          "url": "/15.主题开发/60.容器自定义.html",
          "frontmatter": {
            "title": "容器自定义",
            "date": "2025-03-18 17:07:21",
            "permalink": "/develop/container",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/13.webp"
          },
          "title": "容器自定义",
          "date": "2025-03-18 17:07:21",
          "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
        },
        {
          "url": "/15.主题开发/30.组件布局.html",
          "frontmatter": {
            "title": "组件结构",
            "date": "2025-03-18 13:27:53",
            "permalink": "/develop/components",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "组件结构",
          "date": "2025-03-18 13:27:53",
          "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
        },
        {
          "url": "/01.指南/20.相关/02.插槽布局.html",
          "frontmatter": {
            "title": "插槽布局",
            "date": "2025-03-17 17:30:02",
            "permalink": "/guide/slot",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "top": true,
            "coverImg": "https://onedayxyy.cn/images/3.webp"
          },
          "title": "插槽布局",
          "date": "2025-03-17 17:30:02",
          "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
        },
        {
          "url": "/15.主题开发/01.开发思路.html",
          "frontmatter": {
            "title": "开发思路",
            "date": "2025-03-17 15:46:42",
            "permalink": "/develop/intro",
            "categories": [
              "主题开发"
            ],
            "tags": [
              "主题开发"
            ],
            "top": true,
            "coverImg": "https://onedayxyy.cn/images/10.webp"
          },
          "title": "开发思路",
          "date": "2025-03-17 15:46:42",
          "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
        },
        {
          "url": "/20.文档/40.git.html",
          "frontmatter": {
            "date": "2025-03-14 19:45:49",
            "title": "git",
            "permalink": "/git",
            "categories": [
              "专题",
              "git"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "git",
          "date": "2025-03-14 19:45:49",
          "capture": ""
        },
        {
          "url": "/20.文档/45.面试.html",
          "frontmatter": {
            "date": "2025-03-14 14:13:39",
            "title": "面试",
            "permalink": "/mianshi",
            "categories": [
              "OneWiki",
              "专题",
              "面试"
            ],
            "coverImg": "https://onedayxyy.cn/images/10.webp"
          },
          "title": "面试",
          "date": "2025-03-14 14:13:39",
          "capture": ""
        },
        {
          "url": "/20.文档/55.脚本.html",
          "frontmatter": {
            "date": "2025-03-14 14:12:39",
            "title": "脚本",
            "permalink": "/jiaoben",
            "categories": [
              "OneWiki",
              "专题",
              "脚本"
            ],
            "coverImg": "https://onedayxyy.cn/images/5.webp"
          },
          "title": "脚本",
          "date": "2025-03-14 14:12:39",
          "capture": ""
        },
        {
          "url": "/20.文档/35.前端demo.html",
          "frontmatter": {
            "date": "2025-03-14 14:11:24",
            "title": "前端demo",
            "permalink": "/qianduan-demo",
            "categories": [
              "OneWiki",
              "专题",
              "前端demo"
            ],
            "coverImg": "https://onedayxyy.cn/images/19.webp"
          },
          "title": "前端demo",
          "date": "2025-03-14 14:11:24",
          "capture": ""
        },
        {
          "url": "/20.文档/60.工具.html",
          "frontmatter": {
            "date": "2025-03-14 11:16:29",
            "title": "工具",
            "permalink": "/tools",
            "categories": [
              "OneWiki",
              "工具"
            ],
            "coverImg": "https://onedayxyy.cn/images/14.webp"
          },
          "title": "工具",
          "date": "2025-03-14 11:16:29",
          "capture": ""
        },
        {
          "url": "/20.文档/65.Teek-one.html",
          "frontmatter": {
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "permalink": "/teek",
            "categories": [
              "teek"
            ],
            "tags": [
              "teek"
            ],
            "coverImg": "https://onedayxyy.cn/images/6.webp"
          },
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
        },
        {
          "url": "/20.文档/70.Typora-One.html",
          "frontmatter": {
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "permalink": "/typora-theme-one",
            "categories": [
              "teek"
            ],
            "tags": [
              "teek"
            ],
            "sticky": 1,
            "top": true,
            "description": "全网最美博客-Teek(知识库&博客二合一)😜",
            "titleTag": "推荐",
            "coverImg": "https://onedayxyy.cn/images/6.webp"
          },
          "title": "Teek-One",
          "date": "2025-03-09 15:55:02",
          "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
        },
        {
          "url": "/10.配置/01.主题配置/40.插件配置.html",
          "frontmatter": {
            "title": "插件配置",
            "date": "2025-03-09 15:32:59",
            "permalink": "/reference/plugin-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/5.webp"
          },
          "title": "插件配置",
          "date": "2025-03-09 15:32:59",
          "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
        },
        {
          "url": "/10.配置/01.主题配置/30.文章配置.html",
          "frontmatter": {
            "title": "文章配置",
            "date": "2025-03-09 15:32:33",
            "permalink": "/reference/article-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "文章配置",
          "date": "2025-03-09 15:32:33",
          "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
        },
        {
          "url": "/10.配置/01.主题配置/25.页脚配置.html",
          "frontmatter": {
            "title": "页脚配置",
            "date": "2025-03-09 15:32:13",
            "permalink": "/reference/footer-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/3.webp"
          },
          "title": "页脚配置",
          "date": "2025-03-09 15:32:13",
          "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
        },
        {
          "url": "/10.配置/01.主题配置/35.评论配置.html",
          "frontmatter": {
            "title": "评论配置",
            "date": "2025-03-09 15:32:13",
            "permalink": "/reference/comment-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/7.webp"
          },
          "title": "评论配置",
          "date": "2025-03-09 15:32:13",
          "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
        },
        {
          "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
          "frontmatter": {
            "title": "卡片栏配置",
            "date": "2025-03-09 15:31:48",
            "permalink": "/reference/card-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "卡片栏配置",
          "date": "2025-03-09 15:31:48",
          "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
        },
        {
          "url": "/10.配置/01.主题配置/15.文章列表配置.html",
          "frontmatter": {
            "title": "文章列表配置",
            "date": "2025-03-09 15:31:31",
            "permalink": "/reference/post-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/19.webp"
          },
          "title": "文章列表配置",
          "date": "2025-03-09 15:31:31",
          "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
        },
        {
          "url": "/10.配置/01.主题配置/10.Banner 配置.html",
          "frontmatter": {
            "title": "Banner 配置",
            "date": "2025-03-09 15:22:04",
            "permalink": "/reference/banner-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/17.webp"
          },
          "title": "Banner 配置",
          "date": "2025-03-09 15:22:04",
          "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
        },
        {
          "url": "/10.配置/01.主题配置/05.全局配置.html",
          "frontmatter": {
            "title": "全局配置",
            "date": "2025-03-09 15:20:09",
            "permalink": "/reference/config/global-config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/15.webp"
          },
          "title": "全局配置",
          "date": "2025-03-09 15:20:09",
          "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
        },
        {
          "url": "/01.指南/20.相关/10.写作排版.html",
          "frontmatter": {
            "title": "写作排版",
            "date": "2025-03-08 18:28:00",
            "permalink": "/guide/typesetting",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "top": true,
            "coverImg": "https://onedayxyy.cn/images/19.webp"
          },
          "title": "写作排版",
          "date": "2025-03-08 18:28:00",
          "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
        },
        {
          "url": "/10.配置/40.主题增强拓展.html",
          "frontmatter": {
            "title": "主题增强拓展",
            "date": "2025-03-08 17:46:39",
            "permalink": "/reference/theme-enhance",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "主题增强拓展",
          "date": "2025-03-08 17:46:39",
          "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
        },
        {
          "url": "/01.指南/10.使用/15.主题增强.html",
          "frontmatter": {
            "title": "主题增强",
            "date": "2025-03-08 17:30:12",
            "permalink": "/guide/theme-enhance",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/8.webp"
          },
          "title": "主题增强",
          "date": "2025-03-08 17:30:12",
          "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
        },
        {
          "url": "/01.指南/10.使用/10.摘要与封面.html",
          "frontmatter": {
            "title": "摘要与封面",
            "date": "2025-03-08 16:55:04",
            "permalink": "/guide/summary",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/8.webp"
          },
          "title": "摘要与封面",
          "date": "2025-03-08 16:55:04",
          "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
        },
        {
          "url": "/10.配置/10.frontmatter 配置.html",
          "frontmatter": {
            "title": "frontmatter 配置",
            "date": "2025-03-07 16:52:36",
            "permalink": "/reference/frontmatter",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "top": true,
            "coverImg": "https://onedayxyy.cn/images/18.webp"
          },
          "title": "frontmatter 配置",
          "date": "2025-03-07 16:52:36",
          "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
        },
        {
          "url": "/10.配置/30.功能页配置.html",
          "frontmatter": {
            "title": "功能页配置",
            "date": "2025-03-07 16:28:22",
            "permalink": "/reference/function-page",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "功能页配置",
          "date": "2025-03-07 16:28:22",
          "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
        },
        {
          "url": "/10.配置/20.目录页配置.html",
          "frontmatter": {
            "title": "目录页配置",
            "date": "2025-03-07 15:59:50",
            "permalink": "/reference/catalogue-page",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "coverImg": "https://onedayxyy.cn/images/14.webp"
          },
          "title": "目录页配置",
          "date": "2025-03-07 15:59:50",
          "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
        },
        {
          "url": "/01.指南/10.使用/25.国际化.html",
          "frontmatter": {
            "title": "国际化",
            "date": "2025-03-07 15:30:08",
            "permalink": "/guide/i18n",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/17.webp"
          },
          "title": "国际化",
          "date": "2025-03-07 15:30:08",
          "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
        },
        {
          "url": "/01.指南/10.使用/05.Markdown 拓展.html",
          "frontmatter": {
            "title": "Markdown 拓展",
            "date": "2025-03-06 17:55:34",
            "permalink": "/guide/markdown",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "sticky": 50,
            "coverImg": "https://vp.teek.top/blog/bg3.webp"
          },
          "title": "Markdown 拓展",
          "date": "2025-03-06 17:55:34",
          "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
        },
        {
          "url": "/01.指南/10.使用/30.Vite 插件.html",
          "frontmatter": {
            "title": "Vite 插件",
            "date": "2025-03-06 17:09:17",
            "permalink": "/guide/plugins",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/2.webp"
          },
          "title": "Vite 插件",
          "date": "2025-03-06 17:09:17",
          "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
        },
        {
          "url": "/01.指南/01.简介/20.结构化目录.html",
          "frontmatter": {
            "title": "结构化目录",
            "date": "2025-03-06 16:14:27",
            "permalink": "/guide/directory-structure",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/13.webp"
          },
          "title": "结构化目录",
          "date": "2025-03-06 16:14:27",
          "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
        },
        {
          "url": "/01.指南/01.简介/01.简介.html",
          "frontmatter": {
            "title": "简介",
            "date": "2025-03-06 13:25:02",
            "permalink": "/guide/intro",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "coverImg": "https://onedayxyy.cn/images/12.webp"
          },
          "title": "简介",
          "date": "2025-03-06 13:25:02",
          "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
        },
        {
          "url": "/10.配置/01.主题配置/01.配置简介.html",
          "frontmatter": {
            "title": "配置简介",
            "date": "2025-03-06 09:24:35",
            "permalink": "/reference/config",
            "categories": [
              "配置"
            ],
            "tags": [
              "配置"
            ],
            "top": true,
            "sticky": 10,
            "coverImg": "https://vp.teek.top/blog/bg2.webp"
          },
          "title": "配置简介",
          "date": "2025-03-06 09:24:35",
          "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
        },
        {
          "url": "/01.指南/01.简介/10.快速开始.html",
          "frontmatter": {
            "title": "快速开始",
            "date": "2025-03-06 07:59:25",
            "permalink": "/guide/quickstart",
            "categories": [
              "指南"
            ],
            "tags": [
              "指南"
            ],
            "sticky": 1,
            "coverImg": "https://vp.teek.top/blog/bg1.webp"
          },
          "title": "快速开始",
          "date": "2025-03-06 07:59:25",
          "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
        },
        {
          "url": "/20.文档/05.nginx.html",
          "frontmatter": {
            "title": "简介",
            "date": "2025-01-04 06:41:16",
            "permalink": "/nginx",
            "categories": [
              "运维",
              "nginx",
              "简介"
            ],
            "tags": [
              null
            ],
            "coverImg": "https://onedayxyy.cn/images/15.webp"
          },
          "title": "简介",
          "date": "2025-01-04 06:41:16",
          "capture": ""
        }
      ],
      "2024 ": [
        {
          "url": "/20.文档/75.音乐.html",
          "frontmatter": {
            "title": "音乐",
            "date": "2024-12-23 19:18:56",
            "permalink": "/music",
            "categories": [
              "娱乐"
            ],
            "tags": [
              "音乐"
            ],
            "author": {
              "name": "One",
              "link": "https://wiki.onedayxyy.cn/"
            },
            "coverImg": "https://onedayxyy.cn/images/5.webp"
          },
          "title": "音乐",
          "date": "2024-12-23 19:18:56",
          "capture": "待下载"
        },
        {
          "url": "/20.文档/80.电影.html",
          "frontmatter": {
            "title": "电影",
            "date": "2024-12-23 19:18:56",
            "permalink": "/movie",
            "categories": [
              "娱乐"
            ],
            "tags": [
              "电影"
            ],
            "author": {
              "name": "One",
              "link": "https://wiki.onedayxyy.cn/"
            },
            "coverImg": "https://onedayxyy.cn/images/3.webp"
          },
          "title": "电影",
          "date": "2024-12-23 19:18:56",
          "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
        },
        {
          "url": "/20.文档/25.go.html",
          "frontmatter": {
            "title": "go",
            "date": "2024-12-23 19:17:55",
            "permalink": "/go/",
            "categories": [
              "编程",
              "go"
            ],
            "tags": [
              null
            ],
            "author": {
              "name": "One",
              "link": "https://wiki.onedayxyy.cn/"
            },
            "coverImg": "https://onedayxyy.cn/images/15.webp"
          },
          "title": "go",
          "date": "2024-12-23 19:17:55",
          "capture": ""
        },
        {
          "url": "/20.文档/20.python.html",
          "frontmatter": {
            "title": "python",
            "date": "2024-12-23 19:17:49",
            "permalink": "/python/",
            "categories": [
              "编程",
              "python"
            ],
            "tags": [
              null
            ],
            "author": {
              "name": "One",
              "link": "https://wiki.onedayxyy.cn/"
            },
            "coverImg": "https://onedayxyy.cn/images/5.webp"
          },
          "title": "python",
          "date": "2024-12-23 19:17:49",
          "capture": ""
        },
        {
          "url": "/20.文档/01.linux.html",
          "frontmatter": {
            "title": "运维",
            "date": "2024-12-20 10:50:31",
            "permalink": "/linux",
            "categories": [
              "运维"
            ],
            "tags": [
              "运维"
            ],
            "coverImg": "https://onedayxyy.cn/images/13.webp"
          },
          "title": "运维",
          "date": "2024-12-20 10:50:31",
          "capture": ""
        }
      ]
    },
    "groupPostsByYearMonth": {
      "2025 ": {
        "07": [
          {
            "url": "/api-examples.html",
            "frontmatter": {
              "outline": "deep"
            },
            "title": "Runtime API Examples",
            "date": "2025-07-03 00:49:51",
            "capture": "Runtime API Examples\nThis page demonstrates usage of some of the runtime APIs provided by VitePress.\nThe main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:\n```md\n&lt;script setup\nimport { useData } from 'vitepress'\ncon"
          }
        ],
        "06": [
          {
            "url": "/01.指南/60.我的项目结构说明.html",
            "frontmatter": {
              "date": "2025-06-30 08:21:35",
              "title": "我的项目结构说明",
              "permalink": "/pages/793982",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/7.webp"
            },
            "title": "我的项目结构说明",
            "date": "2025-06-30 08:21:35",
            "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
          },
          {
            "url": "/markdown-examples.html",
            "frontmatter": {
              "date": "2025-06-28 05:42:37",
              "title": "markdown-examples",
              "permalink": "/pages/10b155",
              "categories": [
                null
              ],
              "coverImg": "/img/bg/9.webp"
            },
            "title": "markdown-examples",
            "date": "2025-06-28 05:42:37",
            "capture": "This page demonstrates some of the built-in markdown extensions provided by VitePress.\n Syntax Highlighting\nVitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:\nInput\n````md\n```js{4}\nexport default {\n  data () {\n    return {\n      msg: 'Highlighte"
          },
          {
            "url": "/20.文档/15.css.html",
            "frontmatter": {
              "date": "2025-06-27 17:57:57",
              "title": "css",
              "permalink": "/css",
              "categories": [
                "文档"
              ],
              "coverImg": "/img/bg/15.webp"
            },
            "title": "css",
            "date": "2025-06-27 17:57:57",
            "capture": ""
          },
          {
            "url": "/20.文档/10.Html.html",
            "frontmatter": {
              "date": "2025-06-27 17:57:52",
              "title": "html",
              "permalink": "/html",
              "categories": [
                "文档"
              ],
              "coverImg": "/img/bg/16.webp"
            },
            "title": "html",
            "date": "2025-06-27 17:57:52",
            "capture": ""
          },
          {
            "url": "/01.指南/50.Teek原版优化记录.html",
            "frontmatter": {
              "date": "2025-06-26 18:16:16",
              "title": "Teek原版优化记录",
              "permalink": "/pages/8a2fd7",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/18.webp",
              "top": true,
              "sticky": 4
            },
            "title": "Teek原版优化记录",
            "date": "2025-06-26 18:16:16",
            "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
          },
          {
            "url": "/20.文档/90.时间管理.html",
            "frontmatter": {
              "date": "2025-06-18 15:14:31",
              "title": "时间管理",
              "permalink": "/time-plan",
              "categories": [
                "精神小屋"
              ],
              "coverImg": "/img/bg/12.webp"
            },
            "title": "时间管理",
            "date": "2025-06-18 15:14:31",
            "capture": ""
          },
          {
            "url": "/20.文档/95.文案.html",
            "frontmatter": {
              "date": "2025-06-05 15:37:02",
              "title": "文案",
              "permalink": "/wenan",
              "categories": [
                "精神小屋"
              ],
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "文案",
            "date": "2025-06-05 15:37:02",
            "capture": ""
          }
        ],
        "05": [
          {
            "url": "/01.指南/10.使用/45.私密文章.html",
            "frontmatter": {
              "title": "私密文章",
              "date": "2025-05-19 13:17:02",
              "permalink": "/guide/private",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "私密文章",
            "date": "2025-05-19 13:17:02",
            "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
          },
          {
            "url": "/10.配置/01.主题配置/50.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-05-19 12:49:08",
              "permalink": "/reference/function-page-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "功能页配置",
            "date": "2025-05-19 12:49:08",
            "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
          },
          {
            "url": "/20.文档/50.NAS.html",
            "frontmatter": {
              "date": "2025-05-17 20:48:44",
              "title": "NAS",
              "coverImg": "https://onedayxyy.cn/images/15.webp",
              "permalink": "/NAS",
              "categories": [
                "专题"
              ],
              "tags": [
                "NAS"
              ]
            },
            "title": "NAS",
            "date": "2025-05-17 20:48:44",
            "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
          }
        ],
        "04": [
          {
            "url": "/01.指南/10.使用/35.站点统计.html",
            "frontmatter": {
              "title": "站点统计",
              "date": "2025-04-06 18:54:55",
              "permalink": "/guide/statistics",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/4.webp"
            },
            "title": "站点统计",
            "date": "2025-04-06 18:54:55",
            "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
          }
        ],
        "03": [
          {
            "url": "/15.主题开发/70.开发技巧.html",
            "frontmatter": {
              "title": "开发技巧",
              "date": "2025-03-31 06:19:33",
              "permalink": "/develop/skill",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "开发技巧",
            "date": "2025-03-31 06:19:33",
            "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
          },
          {
            "url": "/20.文档/30.博客搭建.html",
            "frontmatter": {
              "title": "博客搭建",
              "date": "2025-03-30 01:16:23",
              "permalink": "/blog",
              "categories": [
                "博客搭建"
              ],
              "tags": [
                "博客搭建"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "博客搭建",
            "date": "2025-03-30 01:16:23",
            "capture": ""
          },
          {
            "url": "/01.指南/20.相关/05.路由钩子.html",
            "frontmatter": {
              "title": "路由钩子",
              "date": "2025-03-26 17:29:58",
              "permalink": "/guide/router-hook",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "路由钩子",
            "date": "2025-03-26 17:29:58",
            "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
          },
          {
            "url": "/01.指南/40.开发/05.贡献指南.html",
            "frontmatter": {
              "title": "贡献指南",
              "date": "2025-03-26 16:43:09",
              "permalink": "/guide/contribution",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "贡献指南",
            "date": "2025-03-26 16:43:09",
            "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
          },
          {
            "url": "/01.指南/40.开发/01.开发指南.html",
            "frontmatter": {
              "title": "开发指南",
              "date": "2025-03-26 16:31:58",
              "permalink": "/guide/dev",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "开发指南",
            "date": "2025-03-26 16:31:58",
            "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
          },
          {
            "url": "/01.指南/20.相关/99.鸣谢.html",
            "frontmatter": {
              "title": "鸣谢",
              "date": "2025-03-20 14:14:28",
              "permalink": "/thank-they",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "鸣谢",
            "date": "2025-03-20 14:14:28",
            "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
          },
          {
            "url": "/01.指南/10.使用/20.样式增强.html",
            "frontmatter": {
              "title": "样式增强",
              "date": "2025-03-19 15:36:36",
              "permalink": "/styles-plus",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "样式增强",
            "date": "2025-03-19 15:36:36",
            "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
          },
          {
            "url": "/15.主题开发/80.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-19 14:01:57",
              "permalink": "/develop/vite",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/16.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-19 14:01:57",
            "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
          },
          {
            "url": "/15.主题开发/40.样式布局.html",
            "frontmatter": {
              "title": "样式布局",
              "date": "2025-03-19 03:57:11",
              "permalink": "/develop/styles",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "样式布局",
            "date": "2025-03-19 03:57:11",
            "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
          },
          {
            "url": "/15.主题开发/10.主题配置.html",
            "frontmatter": {
              "title": "主题配置",
              "date": "2025-03-19 02:03:46",
              "permalink": "/develop/config",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "主题配置",
            "date": "2025-03-19 02:03:46",
            "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
          },
          {
            "url": "/15.主题开发/20.目录结构.html",
            "frontmatter": {
              "title": "目录结构",
              "date": "2025-03-18 17:51:06",
              "permalink": "/develop/catalogue",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录结构",
            "date": "2025-03-18 17:51:06",
            "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
          },
          {
            "url": "/15.主题开发/60.容器自定义.html",
            "frontmatter": {
              "title": "容器自定义",
              "date": "2025-03-18 17:07:21",
              "permalink": "/develop/container",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "容器自定义",
            "date": "2025-03-18 17:07:21",
            "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
          },
          {
            "url": "/15.主题开发/30.组件布局.html",
            "frontmatter": {
              "title": "组件结构",
              "date": "2025-03-18 13:27:53",
              "permalink": "/develop/components",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "组件结构",
            "date": "2025-03-18 13:27:53",
            "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
          },
          {
            "url": "/01.指南/20.相关/02.插槽布局.html",
            "frontmatter": {
              "title": "插槽布局",
              "date": "2025-03-17 17:30:02",
              "permalink": "/guide/slot",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "插槽布局",
            "date": "2025-03-17 17:30:02",
            "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
          },
          {
            "url": "/15.主题开发/01.开发思路.html",
            "frontmatter": {
              "title": "开发思路",
              "date": "2025-03-17 15:46:42",
              "permalink": "/develop/intro",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "开发思路",
            "date": "2025-03-17 15:46:42",
            "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
          },
          {
            "url": "/20.文档/40.git.html",
            "frontmatter": {
              "date": "2025-03-14 19:45:49",
              "title": "git",
              "permalink": "/git",
              "categories": [
                "专题",
                "git"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "git",
            "date": "2025-03-14 19:45:49",
            "capture": ""
          },
          {
            "url": "/20.文档/45.面试.html",
            "frontmatter": {
              "date": "2025-03-14 14:13:39",
              "title": "面试",
              "permalink": "/mianshi",
              "categories": [
                "OneWiki",
                "专题",
                "面试"
              ],
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "面试",
            "date": "2025-03-14 14:13:39",
            "capture": ""
          },
          {
            "url": "/20.文档/55.脚本.html",
            "frontmatter": {
              "date": "2025-03-14 14:12:39",
              "title": "脚本",
              "permalink": "/jiaoben",
              "categories": [
                "OneWiki",
                "专题",
                "脚本"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "脚本",
            "date": "2025-03-14 14:12:39",
            "capture": ""
          },
          {
            "url": "/20.文档/35.前端demo.html",
            "frontmatter": {
              "date": "2025-03-14 14:11:24",
              "title": "前端demo",
              "permalink": "/qianduan-demo",
              "categories": [
                "OneWiki",
                "专题",
                "前端demo"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "前端demo",
            "date": "2025-03-14 14:11:24",
            "capture": ""
          },
          {
            "url": "/20.文档/60.工具.html",
            "frontmatter": {
              "date": "2025-03-14 11:16:29",
              "title": "工具",
              "permalink": "/tools",
              "categories": [
                "OneWiki",
                "工具"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "工具",
            "date": "2025-03-14 11:16:29",
            "capture": ""
          },
          {
            "url": "/20.文档/65.Teek-one.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/teek",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          },
          {
            "url": "/20.文档/70.Typora-One.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/typora-theme-one",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "sticky": 1,
              "top": true,
              "description": "全网最美博客-Teek(知识库&博客二合一)😜",
              "titleTag": "推荐",
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          },
          {
            "url": "/10.配置/01.主题配置/40.插件配置.html",
            "frontmatter": {
              "title": "插件配置",
              "date": "2025-03-09 15:32:59",
              "permalink": "/reference/plugin-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "插件配置",
            "date": "2025-03-09 15:32:59",
            "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
          },
          {
            "url": "/10.配置/01.主题配置/30.文章配置.html",
            "frontmatter": {
              "title": "文章配置",
              "date": "2025-03-09 15:32:33",
              "permalink": "/reference/article-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "文章配置",
            "date": "2025-03-09 15:32:33",
            "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
          },
          {
            "url": "/10.配置/01.主题配置/25.页脚配置.html",
            "frontmatter": {
              "title": "页脚配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/footer-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "页脚配置",
            "date": "2025-03-09 15:32:13",
            "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
          },
          {
            "url": "/10.配置/01.主题配置/35.评论配置.html",
            "frontmatter": {
              "title": "评论配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/comment-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/7.webp"
            },
            "title": "评论配置",
            "date": "2025-03-09 15:32:13",
            "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
          },
          {
            "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
            "frontmatter": {
              "title": "卡片栏配置",
              "date": "2025-03-09 15:31:48",
              "permalink": "/reference/card-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "卡片栏配置",
            "date": "2025-03-09 15:31:48",
            "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
          },
          {
            "url": "/10.配置/01.主题配置/15.文章列表配置.html",
            "frontmatter": {
              "title": "文章列表配置",
              "date": "2025-03-09 15:31:31",
              "permalink": "/reference/post-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "文章列表配置",
            "date": "2025-03-09 15:31:31",
            "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
          },
          {
            "url": "/10.配置/01.主题配置/10.Banner 配置.html",
            "frontmatter": {
              "title": "Banner 配置",
              "date": "2025-03-09 15:22:04",
              "permalink": "/reference/banner-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "Banner 配置",
            "date": "2025-03-09 15:22:04",
            "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
          },
          {
            "url": "/10.配置/01.主题配置/05.全局配置.html",
            "frontmatter": {
              "title": "全局配置",
              "date": "2025-03-09 15:20:09",
              "permalink": "/reference/config/global-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "全局配置",
            "date": "2025-03-09 15:20:09",
            "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
          },
          {
            "url": "/01.指南/20.相关/10.写作排版.html",
            "frontmatter": {
              "title": "写作排版",
              "date": "2025-03-08 18:28:00",
              "permalink": "/guide/typesetting",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "写作排版",
            "date": "2025-03-08 18:28:00",
            "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
          },
          {
            "url": "/10.配置/40.主题增强拓展.html",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": "2025-03-08 17:46:39",
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "主题增强拓展",
            "date": "2025-03-08 17:46:39",
            "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
          },
          {
            "url": "/01.指南/10.使用/15.主题增强.html",
            "frontmatter": {
              "title": "主题增强",
              "date": "2025-03-08 17:30:12",
              "permalink": "/guide/theme-enhance",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "主题增强",
            "date": "2025-03-08 17:30:12",
            "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
          },
          {
            "url": "/01.指南/10.使用/10.摘要与封面.html",
            "frontmatter": {
              "title": "摘要与封面",
              "date": "2025-03-08 16:55:04",
              "permalink": "/guide/summary",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "摘要与封面",
            "date": "2025-03-08 16:55:04",
            "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
          },
          {
            "url": "/10.配置/10.frontmatter 配置.html",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": "2025-03-07 16:52:36",
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "frontmatter 配置",
            "date": "2025-03-07 16:52:36",
            "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
          },
          {
            "url": "/10.配置/30.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-03-07 16:28:22",
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "功能页配置",
            "date": "2025-03-07 16:28:22",
            "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
          },
          {
            "url": "/10.配置/20.目录页配置.html",
            "frontmatter": {
              "title": "目录页配置",
              "date": "2025-03-07 15:59:50",
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录页配置",
            "date": "2025-03-07 15:59:50",
            "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
          },
          {
            "url": "/01.指南/10.使用/25.国际化.html",
            "frontmatter": {
              "title": "国际化",
              "date": "2025-03-07 15:30:08",
              "permalink": "/guide/i18n",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "国际化",
            "date": "2025-03-07 15:30:08",
            "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
          },
          {
            "url": "/01.指南/10.使用/05.Markdown 拓展.html",
            "frontmatter": {
              "title": "Markdown 拓展",
              "date": "2025-03-06 17:55:34",
              "permalink": "/guide/markdown",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 50,
              "coverImg": "https://vp.teek.top/blog/bg3.webp"
            },
            "title": "Markdown 拓展",
            "date": "2025-03-06 17:55:34",
            "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
          },
          {
            "url": "/01.指南/10.使用/30.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-06 17:09:17",
              "permalink": "/guide/plugins",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/2.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-06 17:09:17",
            "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
          },
          {
            "url": "/01.指南/01.简介/20.结构化目录.html",
            "frontmatter": {
              "title": "结构化目录",
              "date": "2025-03-06 16:14:27",
              "permalink": "/guide/directory-structure",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "结构化目录",
            "date": "2025-03-06 16:14:27",
            "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
          },
          {
            "url": "/01.指南/01.简介/01.简介.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-03-06 13:25:02",
              "permalink": "/guide/intro",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "简介",
            "date": "2025-03-06 13:25:02",
            "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
          },
          {
            "url": "/10.配置/01.主题配置/01.配置简介.html",
            "frontmatter": {
              "title": "配置简介",
              "date": "2025-03-06 09:24:35",
              "permalink": "/reference/config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "sticky": 10,
              "coverImg": "https://vp.teek.top/blog/bg2.webp"
            },
            "title": "配置简介",
            "date": "2025-03-06 09:24:35",
            "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
          },
          {
            "url": "/01.指南/01.简介/10.快速开始.html",
            "frontmatter": {
              "title": "快速开始",
              "date": "2025-03-06 07:59:25",
              "permalink": "/guide/quickstart",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 1,
              "coverImg": "https://vp.teek.top/blog/bg1.webp"
            },
            "title": "快速开始",
            "date": "2025-03-06 07:59:25",
            "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
          }
        ],
        "01": [
          {
            "url": "/20.文档/05.nginx.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-01-04 06:41:16",
              "permalink": "/nginx",
              "categories": [
                "运维",
                "nginx",
                "简介"
              ],
              "tags": [
                null
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "简介",
            "date": "2025-01-04 06:41:16",
            "capture": ""
          }
        ]
      },
      "2024 ": {
        "12": [
          {
            "url": "/20.文档/75.音乐.html",
            "frontmatter": {
              "title": "音乐",
              "date": "2024-12-23 19:18:56",
              "permalink": "/music",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "音乐"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "音乐",
            "date": "2024-12-23 19:18:56",
            "capture": "待下载"
          },
          {
            "url": "/20.文档/80.电影.html",
            "frontmatter": {
              "title": "电影",
              "date": "2024-12-23 19:18:56",
              "permalink": "/movie",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "电影"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "电影",
            "date": "2024-12-23 19:18:56",
            "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
          },
          {
            "url": "/20.文档/25.go.html",
            "frontmatter": {
              "title": "go",
              "date": "2024-12-23 19:17:55",
              "permalink": "/go/",
              "categories": [
                "编程",
                "go"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "go",
            "date": "2024-12-23 19:17:55",
            "capture": ""
          },
          {
            "url": "/20.文档/20.python.html",
            "frontmatter": {
              "title": "python",
              "date": "2024-12-23 19:17:49",
              "permalink": "/python/",
              "categories": [
                "编程",
                "python"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "python",
            "date": "2024-12-23 19:17:49",
            "capture": ""
          },
          {
            "url": "/20.文档/01.linux.html",
            "frontmatter": {
              "title": "运维",
              "date": "2024-12-20 10:50:31",
              "permalink": "/linux",
              "categories": [
                "运维"
              ],
              "tags": [
                "运维"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "运维",
            "date": "2024-12-20 10:50:31",
            "capture": ""
          }
        ]
      }
    },
    "groupPosts": {
      "categories": {
        "teek": [
          {
            "url": "/20.文档/70.Typora-One.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/typora-theme-one",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "sticky": 1,
              "top": true,
              "description": "全网最美博客-Teek(知识库&博客二合一)😜",
              "titleTag": "推荐",
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          },
          {
            "url": "/20.文档/65.Teek-one.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/teek",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          }
        ],
        "指南": [
          {
            "url": "/01.指南/01.简介/10.快速开始.html",
            "frontmatter": {
              "title": "快速开始",
              "date": "2025-03-06 07:59:25",
              "permalink": "/guide/quickstart",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 1,
              "coverImg": "https://vp.teek.top/blog/bg1.webp"
            },
            "title": "快速开始",
            "date": "2025-03-06 07:59:25",
            "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
          },
          {
            "url": "/01.指南/50.Teek原版优化记录.html",
            "frontmatter": {
              "date": "2025-06-26 18:16:16",
              "title": "Teek原版优化记录",
              "permalink": "/pages/8a2fd7",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/18.webp",
              "top": true,
              "sticky": 4
            },
            "title": "Teek原版优化记录",
            "date": "2025-06-26 18:16:16",
            "capture": "目录\n[[toc]]\n[toc]\n 汇总\n关闭看板娘、音乐播放器、背景彩带、404组件、下拉猫;\n汇总\n```bash\nTeek~一款简约、唯美、丝滑、强大的VitePress主题\n(1)Teek简约版:(原作者模板)\ndemo: https://vp.teek.top/\n简约模板:https://github.com/Kele-Bingtang/vitepress-theme-teek-docs-template\n(2)Teek增强版:(One或Hyde模板)\nOne:\n demo:https://onedayxyy.cn/\n 简约模板:https://gitee.com/onlyonexl"
          },
          {
            "url": "/01.指南/10.使用/05.Markdown 拓展.html",
            "frontmatter": {
              "title": "Markdown 拓展",
              "date": "2025-03-06 17:55:34",
              "permalink": "/guide/markdown",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 50,
              "coverImg": "https://vp.teek.top/blog/bg3.webp"
            },
            "title": "Markdown 拓展",
            "date": "2025-03-06 17:55:34",
            "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
          },
          {
            "url": "/01.指南/60.我的项目结构说明.html",
            "frontmatter": {
              "date": "2025-06-30 08:21:35",
              "title": "我的项目结构说明",
              "permalink": "/pages/793982",
              "categories": [
                "指南"
              ],
              "coverImg": "/img/bg/7.webp"
            },
            "title": "我的项目结构说明",
            "date": "2025-06-30 08:21:35",
            "capture": "```txt\nE:\\Source\\vitepress-theme-teek-one-ysundy-pnpm/\n├── docs/\n│   ├── .vitepress/\n│   │   ├── cache/                      VitePress 构建缓存目录\n│   │   │   └── deps/                   第三方依赖缓存\n│   │   ├── config/\n│   │   │   └── theme.ts                主题颜色配置\n│   │   ├── ConfigHyde/                 Hyd"
          },
          {
            "url": "/01.指南/10.使用/45.私密文章.html",
            "frontmatter": {
              "title": "私密文章",
              "date": "2025-05-19 13:17:02",
              "permalink": "/guide/private",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "私密文章",
            "date": "2025-05-19 13:17:02",
            "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
          },
          {
            "url": "/01.指南/10.使用/35.站点统计.html",
            "frontmatter": {
              "title": "站点统计",
              "date": "2025-04-06 18:54:55",
              "permalink": "/guide/statistics",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/4.webp"
            },
            "title": "站点统计",
            "date": "2025-04-06 18:54:55",
            "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
          },
          {
            "url": "/01.指南/20.相关/05.路由钩子.html",
            "frontmatter": {
              "title": "路由钩子",
              "date": "2025-03-26 17:29:58",
              "permalink": "/guide/router-hook",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "路由钩子",
            "date": "2025-03-26 17:29:58",
            "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
          },
          {
            "url": "/01.指南/40.开发/05.贡献指南.html",
            "frontmatter": {
              "title": "贡献指南",
              "date": "2025-03-26 16:43:09",
              "permalink": "/guide/contribution",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "贡献指南",
            "date": "2025-03-26 16:43:09",
            "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
          },
          {
            "url": "/01.指南/40.开发/01.开发指南.html",
            "frontmatter": {
              "title": "开发指南",
              "date": "2025-03-26 16:31:58",
              "permalink": "/guide/dev",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "开发指南",
            "date": "2025-03-26 16:31:58",
            "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
          },
          {
            "url": "/01.指南/20.相关/99.鸣谢.html",
            "frontmatter": {
              "title": "鸣谢",
              "date": "2025-03-20 14:14:28",
              "permalink": "/thank-they",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "鸣谢",
            "date": "2025-03-20 14:14:28",
            "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
          },
          {
            "url": "/01.指南/10.使用/20.样式增强.html",
            "frontmatter": {
              "title": "样式增强",
              "date": "2025-03-19 15:36:36",
              "permalink": "/styles-plus",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "样式增强",
            "date": "2025-03-19 15:36:36",
            "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
          },
          {
            "url": "/01.指南/20.相关/02.插槽布局.html",
            "frontmatter": {
              "title": "插槽布局",
              "date": "2025-03-17 17:30:02",
              "permalink": "/guide/slot",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "插槽布局",
            "date": "2025-03-17 17:30:02",
            "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
          },
          {
            "url": "/01.指南/20.相关/10.写作排版.html",
            "frontmatter": {
              "title": "写作排版",
              "date": "2025-03-08 18:28:00",
              "permalink": "/guide/typesetting",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "写作排版",
            "date": "2025-03-08 18:28:00",
            "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
          },
          {
            "url": "/01.指南/10.使用/15.主题增强.html",
            "frontmatter": {
              "title": "主题增强",
              "date": "2025-03-08 17:30:12",
              "permalink": "/guide/theme-enhance",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "主题增强",
            "date": "2025-03-08 17:30:12",
            "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
          },
          {
            "url": "/01.指南/10.使用/10.摘要与封面.html",
            "frontmatter": {
              "title": "摘要与封面",
              "date": "2025-03-08 16:55:04",
              "permalink": "/guide/summary",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "摘要与封面",
            "date": "2025-03-08 16:55:04",
            "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
          },
          {
            "url": "/01.指南/10.使用/25.国际化.html",
            "frontmatter": {
              "title": "国际化",
              "date": "2025-03-07 15:30:08",
              "permalink": "/guide/i18n",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "国际化",
            "date": "2025-03-07 15:30:08",
            "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
          },
          {
            "url": "/01.指南/10.使用/30.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-06 17:09:17",
              "permalink": "/guide/plugins",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/2.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-06 17:09:17",
            "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
          },
          {
            "url": "/01.指南/01.简介/20.结构化目录.html",
            "frontmatter": {
              "title": "结构化目录",
              "date": "2025-03-06 16:14:27",
              "permalink": "/guide/directory-structure",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "结构化目录",
            "date": "2025-03-06 16:14:27",
            "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
          },
          {
            "url": "/01.指南/01.简介/01.简介.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-03-06 13:25:02",
              "permalink": "/guide/intro",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "简介",
            "date": "2025-03-06 13:25:02",
            "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
          }
        ],
        "配置": [
          {
            "url": "/10.配置/01.主题配置/01.配置简介.html",
            "frontmatter": {
              "title": "配置简介",
              "date": "2025-03-06 09:24:35",
              "permalink": "/reference/config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "sticky": 10,
              "coverImg": "https://vp.teek.top/blog/bg2.webp"
            },
            "title": "配置简介",
            "date": "2025-03-06 09:24:35",
            "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
          },
          {
            "url": "/10.配置/01.主题配置/50.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-05-19 12:49:08",
              "permalink": "/reference/function-page-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "功能页配置",
            "date": "2025-05-19 12:49:08",
            "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
          },
          {
            "url": "/10.配置/01.主题配置/40.插件配置.html",
            "frontmatter": {
              "title": "插件配置",
              "date": "2025-03-09 15:32:59",
              "permalink": "/reference/plugin-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "插件配置",
            "date": "2025-03-09 15:32:59",
            "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
          },
          {
            "url": "/10.配置/01.主题配置/30.文章配置.html",
            "frontmatter": {
              "title": "文章配置",
              "date": "2025-03-09 15:32:33",
              "permalink": "/reference/article-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "文章配置",
            "date": "2025-03-09 15:32:33",
            "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
          },
          {
            "url": "/10.配置/01.主题配置/25.页脚配置.html",
            "frontmatter": {
              "title": "页脚配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/footer-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "页脚配置",
            "date": "2025-03-09 15:32:13",
            "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
          },
          {
            "url": "/10.配置/01.主题配置/35.评论配置.html",
            "frontmatter": {
              "title": "评论配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/comment-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/7.webp"
            },
            "title": "评论配置",
            "date": "2025-03-09 15:32:13",
            "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
          },
          {
            "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
            "frontmatter": {
              "title": "卡片栏配置",
              "date": "2025-03-09 15:31:48",
              "permalink": "/reference/card-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "卡片栏配置",
            "date": "2025-03-09 15:31:48",
            "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
          },
          {
            "url": "/10.配置/01.主题配置/15.文章列表配置.html",
            "frontmatter": {
              "title": "文章列表配置",
              "date": "2025-03-09 15:31:31",
              "permalink": "/reference/post-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "文章列表配置",
            "date": "2025-03-09 15:31:31",
            "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
          },
          {
            "url": "/10.配置/01.主题配置/10.Banner 配置.html",
            "frontmatter": {
              "title": "Banner 配置",
              "date": "2025-03-09 15:22:04",
              "permalink": "/reference/banner-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "Banner 配置",
            "date": "2025-03-09 15:22:04",
            "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
          },
          {
            "url": "/10.配置/01.主题配置/05.全局配置.html",
            "frontmatter": {
              "title": "全局配置",
              "date": "2025-03-09 15:20:09",
              "permalink": "/reference/config/global-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "全局配置",
            "date": "2025-03-09 15:20:09",
            "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
          },
          {
            "url": "/10.配置/40.主题增强拓展.html",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": "2025-03-08 17:46:39",
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "主题增强拓展",
            "date": "2025-03-08 17:46:39",
            "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
          },
          {
            "url": "/10.配置/10.frontmatter 配置.html",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": "2025-03-07 16:52:36",
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "frontmatter 配置",
            "date": "2025-03-07 16:52:36",
            "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
          },
          {
            "url": "/10.配置/30.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-03-07 16:28:22",
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "功能页配置",
            "date": "2025-03-07 16:28:22",
            "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
          },
          {
            "url": "/10.配置/20.目录页配置.html",
            "frontmatter": {
              "title": "目录页配置",
              "date": "2025-03-07 15:59:50",
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录页配置",
            "date": "2025-03-07 15:59:50",
            "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
          }
        ],
        "文档": [
          {
            "url": "/20.文档/15.css.html",
            "frontmatter": {
              "date": "2025-06-27 17:57:57",
              "title": "css",
              "permalink": "/css",
              "categories": [
                "文档"
              ],
              "coverImg": "/img/bg/15.webp"
            },
            "title": "css",
            "date": "2025-06-27 17:57:57",
            "capture": ""
          },
          {
            "url": "/20.文档/10.Html.html",
            "frontmatter": {
              "date": "2025-06-27 17:57:52",
              "title": "html",
              "permalink": "/html",
              "categories": [
                "文档"
              ],
              "coverImg": "/img/bg/16.webp"
            },
            "title": "html",
            "date": "2025-06-27 17:57:52",
            "capture": ""
          }
        ],
        "精神小屋": [
          {
            "url": "/20.文档/90.时间管理.html",
            "frontmatter": {
              "date": "2025-06-18 15:14:31",
              "title": "时间管理",
              "permalink": "/time-plan",
              "categories": [
                "精神小屋"
              ],
              "coverImg": "/img/bg/12.webp"
            },
            "title": "时间管理",
            "date": "2025-06-18 15:14:31",
            "capture": ""
          },
          {
            "url": "/20.文档/95.文案.html",
            "frontmatter": {
              "date": "2025-06-05 15:37:02",
              "title": "文案",
              "permalink": "/wenan",
              "categories": [
                "精神小屋"
              ],
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "文案",
            "date": "2025-06-05 15:37:02",
            "capture": ""
          }
        ],
        "专题": [
          {
            "url": "/20.文档/50.NAS.html",
            "frontmatter": {
              "date": "2025-05-17 20:48:44",
              "title": "NAS",
              "coverImg": "https://onedayxyy.cn/images/15.webp",
              "permalink": "/NAS",
              "categories": [
                "专题"
              ],
              "tags": [
                "NAS"
              ]
            },
            "title": "NAS",
            "date": "2025-05-17 20:48:44",
            "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
          },
          {
            "url": "/20.文档/40.git.html",
            "frontmatter": {
              "date": "2025-03-14 19:45:49",
              "title": "git",
              "permalink": "/git",
              "categories": [
                "专题",
                "git"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "git",
            "date": "2025-03-14 19:45:49",
            "capture": ""
          },
          {
            "url": "/20.文档/45.面试.html",
            "frontmatter": {
              "date": "2025-03-14 14:13:39",
              "title": "面试",
              "permalink": "/mianshi",
              "categories": [
                "OneWiki",
                "专题",
                "面试"
              ],
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "面试",
            "date": "2025-03-14 14:13:39",
            "capture": ""
          },
          {
            "url": "/20.文档/55.脚本.html",
            "frontmatter": {
              "date": "2025-03-14 14:12:39",
              "title": "脚本",
              "permalink": "/jiaoben",
              "categories": [
                "OneWiki",
                "专题",
                "脚本"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "脚本",
            "date": "2025-03-14 14:12:39",
            "capture": ""
          },
          {
            "url": "/20.文档/35.前端demo.html",
            "frontmatter": {
              "date": "2025-03-14 14:11:24",
              "title": "前端demo",
              "permalink": "/qianduan-demo",
              "categories": [
                "OneWiki",
                "专题",
                "前端demo"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "前端demo",
            "date": "2025-03-14 14:11:24",
            "capture": ""
          }
        ],
        "主题开发": [
          {
            "url": "/15.主题开发/70.开发技巧.html",
            "frontmatter": {
              "title": "开发技巧",
              "date": "2025-03-31 06:19:33",
              "permalink": "/develop/skill",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "开发技巧",
            "date": "2025-03-31 06:19:33",
            "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
          },
          {
            "url": "/15.主题开发/80.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-19 14:01:57",
              "permalink": "/develop/vite",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/16.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-19 14:01:57",
            "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
          },
          {
            "url": "/15.主题开发/40.样式布局.html",
            "frontmatter": {
              "title": "样式布局",
              "date": "2025-03-19 03:57:11",
              "permalink": "/develop/styles",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "样式布局",
            "date": "2025-03-19 03:57:11",
            "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
          },
          {
            "url": "/15.主题开发/10.主题配置.html",
            "frontmatter": {
              "title": "主题配置",
              "date": "2025-03-19 02:03:46",
              "permalink": "/develop/config",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "主题配置",
            "date": "2025-03-19 02:03:46",
            "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
          },
          {
            "url": "/15.主题开发/20.目录结构.html",
            "frontmatter": {
              "title": "目录结构",
              "date": "2025-03-18 17:51:06",
              "permalink": "/develop/catalogue",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录结构",
            "date": "2025-03-18 17:51:06",
            "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
          },
          {
            "url": "/15.主题开发/60.容器自定义.html",
            "frontmatter": {
              "title": "容器自定义",
              "date": "2025-03-18 17:07:21",
              "permalink": "/develop/container",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "容器自定义",
            "date": "2025-03-18 17:07:21",
            "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
          },
          {
            "url": "/15.主题开发/30.组件布局.html",
            "frontmatter": {
              "title": "组件结构",
              "date": "2025-03-18 13:27:53",
              "permalink": "/develop/components",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "组件结构",
            "date": "2025-03-18 13:27:53",
            "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
          },
          {
            "url": "/15.主题开发/01.开发思路.html",
            "frontmatter": {
              "title": "开发思路",
              "date": "2025-03-17 15:46:42",
              "permalink": "/develop/intro",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "开发思路",
            "date": "2025-03-17 15:46:42",
            "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
          }
        ],
        "博客搭建": [
          {
            "url": "/20.文档/30.博客搭建.html",
            "frontmatter": {
              "title": "博客搭建",
              "date": "2025-03-30 01:16:23",
              "permalink": "/blog",
              "categories": [
                "博客搭建"
              ],
              "tags": [
                "博客搭建"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "博客搭建",
            "date": "2025-03-30 01:16:23",
            "capture": ""
          }
        ],
        "git": [
          {
            "url": "/20.文档/40.git.html",
            "frontmatter": {
              "date": "2025-03-14 19:45:49",
              "title": "git",
              "permalink": "/git",
              "categories": [
                "专题",
                "git"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "git",
            "date": "2025-03-14 19:45:49",
            "capture": ""
          }
        ],
        "OneWiki": [
          {
            "url": "/20.文档/45.面试.html",
            "frontmatter": {
              "date": "2025-03-14 14:13:39",
              "title": "面试",
              "permalink": "/mianshi",
              "categories": [
                "OneWiki",
                "专题",
                "面试"
              ],
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "面试",
            "date": "2025-03-14 14:13:39",
            "capture": ""
          },
          {
            "url": "/20.文档/55.脚本.html",
            "frontmatter": {
              "date": "2025-03-14 14:12:39",
              "title": "脚本",
              "permalink": "/jiaoben",
              "categories": [
                "OneWiki",
                "专题",
                "脚本"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "脚本",
            "date": "2025-03-14 14:12:39",
            "capture": ""
          },
          {
            "url": "/20.文档/35.前端demo.html",
            "frontmatter": {
              "date": "2025-03-14 14:11:24",
              "title": "前端demo",
              "permalink": "/qianduan-demo",
              "categories": [
                "OneWiki",
                "专题",
                "前端demo"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "前端demo",
            "date": "2025-03-14 14:11:24",
            "capture": ""
          },
          {
            "url": "/20.文档/60.工具.html",
            "frontmatter": {
              "date": "2025-03-14 11:16:29",
              "title": "工具",
              "permalink": "/tools",
              "categories": [
                "OneWiki",
                "工具"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "工具",
            "date": "2025-03-14 11:16:29",
            "capture": ""
          }
        ],
        "面试": [
          {
            "url": "/20.文档/45.面试.html",
            "frontmatter": {
              "date": "2025-03-14 14:13:39",
              "title": "面试",
              "permalink": "/mianshi",
              "categories": [
                "OneWiki",
                "专题",
                "面试"
              ],
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "面试",
            "date": "2025-03-14 14:13:39",
            "capture": ""
          }
        ],
        "脚本": [
          {
            "url": "/20.文档/55.脚本.html",
            "frontmatter": {
              "date": "2025-03-14 14:12:39",
              "title": "脚本",
              "permalink": "/jiaoben",
              "categories": [
                "OneWiki",
                "专题",
                "脚本"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "脚本",
            "date": "2025-03-14 14:12:39",
            "capture": ""
          }
        ],
        "前端demo": [
          {
            "url": "/20.文档/35.前端demo.html",
            "frontmatter": {
              "date": "2025-03-14 14:11:24",
              "title": "前端demo",
              "permalink": "/qianduan-demo",
              "categories": [
                "OneWiki",
                "专题",
                "前端demo"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "前端demo",
            "date": "2025-03-14 14:11:24",
            "capture": ""
          }
        ],
        "工具": [
          {
            "url": "/20.文档/60.工具.html",
            "frontmatter": {
              "date": "2025-03-14 11:16:29",
              "title": "工具",
              "permalink": "/tools",
              "categories": [
                "OneWiki",
                "工具"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "工具",
            "date": "2025-03-14 11:16:29",
            "capture": ""
          }
        ],
        "运维": [
          {
            "url": "/20.文档/05.nginx.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-01-04 06:41:16",
              "permalink": "/nginx",
              "categories": [
                "运维",
                "nginx",
                "简介"
              ],
              "tags": [
                null
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "简介",
            "date": "2025-01-04 06:41:16",
            "capture": ""
          },
          {
            "url": "/20.文档/01.linux.html",
            "frontmatter": {
              "title": "运维",
              "date": "2024-12-20 10:50:31",
              "permalink": "/linux",
              "categories": [
                "运维"
              ],
              "tags": [
                "运维"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "运维",
            "date": "2024-12-20 10:50:31",
            "capture": ""
          }
        ],
        "nginx": [
          {
            "url": "/20.文档/05.nginx.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-01-04 06:41:16",
              "permalink": "/nginx",
              "categories": [
                "运维",
                "nginx",
                "简介"
              ],
              "tags": [
                null
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "简介",
            "date": "2025-01-04 06:41:16",
            "capture": ""
          }
        ],
        "简介": [
          {
            "url": "/20.文档/05.nginx.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-01-04 06:41:16",
              "permalink": "/nginx",
              "categories": [
                "运维",
                "nginx",
                "简介"
              ],
              "tags": [
                null
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "简介",
            "date": "2025-01-04 06:41:16",
            "capture": ""
          }
        ],
        "娱乐": [
          {
            "url": "/20.文档/75.音乐.html",
            "frontmatter": {
              "title": "音乐",
              "date": "2024-12-23 19:18:56",
              "permalink": "/music",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "音乐"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "音乐",
            "date": "2024-12-23 19:18:56",
            "capture": "待下载"
          },
          {
            "url": "/20.文档/80.电影.html",
            "frontmatter": {
              "title": "电影",
              "date": "2024-12-23 19:18:56",
              "permalink": "/movie",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "电影"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "电影",
            "date": "2024-12-23 19:18:56",
            "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
          }
        ],
        "编程": [
          {
            "url": "/20.文档/25.go.html",
            "frontmatter": {
              "title": "go",
              "date": "2024-12-23 19:17:55",
              "permalink": "/go/",
              "categories": [
                "编程",
                "go"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "go",
            "date": "2024-12-23 19:17:55",
            "capture": ""
          },
          {
            "url": "/20.文档/20.python.html",
            "frontmatter": {
              "title": "python",
              "date": "2024-12-23 19:17:49",
              "permalink": "/python/",
              "categories": [
                "编程",
                "python"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "python",
            "date": "2024-12-23 19:17:49",
            "capture": ""
          }
        ],
        "go": [
          {
            "url": "/20.文档/25.go.html",
            "frontmatter": {
              "title": "go",
              "date": "2024-12-23 19:17:55",
              "permalink": "/go/",
              "categories": [
                "编程",
                "go"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "go",
            "date": "2024-12-23 19:17:55",
            "capture": ""
          }
        ],
        "python": [
          {
            "url": "/20.文档/20.python.html",
            "frontmatter": {
              "title": "python",
              "date": "2024-12-23 19:17:49",
              "permalink": "/python/",
              "categories": [
                "编程",
                "python"
              ],
              "tags": [
                null
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "python",
            "date": "2024-12-23 19:17:49",
            "capture": ""
          }
        ]
      },
      "tags": {
        "teek": [
          {
            "url": "/20.文档/70.Typora-One.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/typora-theme-one",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "sticky": 1,
              "top": true,
              "description": "全网最美博客-Teek(知识库&博客二合一)😜",
              "titleTag": "推荐",
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          },
          {
            "url": "/20.文档/65.Teek-one.html",
            "frontmatter": {
              "title": "Teek-One",
              "date": "2025-03-09 15:55:02",
              "permalink": "/teek",
              "categories": [
                "teek"
              ],
              "tags": [
                "teek"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "Teek-One",
            "date": "2025-03-09 15:55:02",
            "capture": "Teek~一款简约、唯美、丝滑且强大的VitePress主题博客\n 目录\n[[toc]]\n[toc]\n 版权\n此《vitepress-theme-teek》项目是《天客 - Teeker》大佬开源的,感谢大佬开发的优秀主题,大佬威武,这里仅记录下个人日常使用teek的一些信息,关于项目具体信息,可访问其官网,多些。❤️❤️\n- 官方demo及仓库\n官方demo:&lt;https://vp.teek.top/\n仓库:&lt;https://github.com/Kele-Bingtang/vitepress-theme-teek&gt;\n原作者天客 - Teeker掘金发表的文章:《我用 Vi"
          }
        ],
        "指南": [
          {
            "url": "/01.指南/01.简介/10.快速开始.html",
            "frontmatter": {
              "title": "快速开始",
              "date": "2025-03-06 07:59:25",
              "permalink": "/guide/quickstart",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 1,
              "coverImg": "https://vp.teek.top/blog/bg1.webp"
            },
            "title": "快速开始",
            "date": "2025-03-06 07:59:25",
            "capture": "版本\n建议使用如下包管理器安装 `vitepress-theme-teek`:\n- pnpm&lt;Badge type=\"tip\" text=\"推荐\" /\n- yarn\n- npm\n VitePress 安装\n有关 VitePress 的安装教程来源于 VitePress 文档。如果安装失败,请阅读 VitePress 文档查看最新的安装教程。\n```sh [pnpm]\npnpm add -D vitepress\n```\n```sh [yarn]\nyarn add -D vitepress\n```\n```sh [npm]\nnpm add -D vitepress\n```\nVitePress "
          },
          {
            "url": "/01.指南/10.使用/05.Markdown 拓展.html",
            "frontmatter": {
              "title": "Markdown 拓展",
              "date": "2025-03-06 17:55:34",
              "permalink": "/guide/markdown",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "sticky": 50,
              "coverImg": "https://vp.teek.top/blog/bg3.webp"
            },
            "title": "Markdown 拓展",
            "date": "2025-03-06 17:55:34",
            "capture": "VitePress 使用 `markdown-it` 来对 Markdown 进行解析和渲染,最终转为 Vue 组件。\n`markdown-it` 是一款功能强大的 Markdown 解析器,支持丰富的 Markdown 语法,能够轻松将 Markdown 文本转换为 HTML 格式,并提供了许多语法扩展和插件。如果希望文章页拓展一些新的功能、UI,那么可以利用它拦截并处理 Markdown 生成的 HTML。\n阅读 VitePress 的代码可以发现,它利用 `markdown-it` 添加了代码块高亮、代码块行号、Tip 容器等功能,在 VitePress 官网的 Markdown 拓展 "
          },
          {
            "url": "/01.指南/10.使用/45.私密文章.html",
            "frontmatter": {
              "title": "私密文章",
              "date": "2025-05-19 13:17:02",
              "permalink": "/guide/private",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "私密文章",
            "date": "2025-05-19 13:17:02",
            "capture": "私密文章需要一个登录页进行登录,如果你想先体验登录页的效果,在导航栏 &lt;mark\n您也可以通过 `teek-login-page` 插槽自定义登录页。\n```vue\n&lt;script setup lang=\"ts\" name=\"TeekLayoutProvider\"&gt;\nimport Teek from \"vitepress-theme-teek\";\nimport YourLoginPageComponent from \"./YourLoginPageComponent\";\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;Teek.Layout&gt"
          },
          {
            "url": "/01.指南/10.使用/35.站点统计.html",
            "frontmatter": {
              "title": "站点统计",
              "date": "2025-04-06 18:54:55",
              "permalink": "/guide/statistics",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/4.webp"
            },
            "title": "站点统计",
            "date": "2025-04-06 18:54:55",
            "capture": "Teek 集成了三种常见的站点统计工具:\n- 百度分析 `Baidu Analytics`\n- 谷歌分析 `Google Analytics`\n- `Umami` 分析\n让你可以轻松地在 VitePress 网站中集成并管理这些分析工具。无论是谷歌分析的强大功能,还是百度统计对中国市场的适配,或者是 `Umami` 的隐私友好型方案,都可以通过这个插件快速集成并使用。\n 百度统计\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekCon"
          },
          {
            "url": "/01.指南/20.相关/05.路由钩子.html",
            "frontmatter": {
              "title": "路由钩子",
              "date": "2025-03-26 17:29:58",
              "permalink": "/guide/router-hook",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "路由钩子",
            "date": "2025-03-26 17:29:58",
            "capture": "VitePress 提供的 `useRouter` 有 4 个路由钩子,分别为:\n- `onBeforeRouteChange`:路由变化前触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onBeforePageLoad`:页面加载前执行,在 `onBeforeRouteChange` 之后触发,如果在该钩子函数中返回 `false`,则不会进行路由跳转\n- `onAfterPageLoad`:页面加载后执行\n- `onAfterRouteChange`:路由变化后触发,在 `onAfterPageLoad` 之后触发\nTeek 内置的 4 个评论区组件使用了 `onA"
          },
          {
            "url": "/01.指南/40.开发/05.贡献指南.html",
            "frontmatter": {
              "title": "贡献指南",
              "date": "2025-03-26 16:43:09",
              "permalink": "/guide/contribution",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "贡献指南",
            "date": "2025-03-26 16:43:09",
            "capture": "感谢您使用 Teek。\n以下是关于向 Teek 提交反馈或代码的指南。在向 Teek 提交 Issue 或者 PR 之前,请先花几分钟时间阅读以下内容。\n Issue 规范\n- 遇到问题时,请先确认这个问题是否已经在 Issue 中有记录或者已被修复\n- 提 Issue 时,请用简短的语言描述遇到的问题,并添加出现问题时的环境和复现步骤,必要时需提供可复现问题最小代码仓库\n环境包含\n- `浏览器` 版本\n- `操作系统` 版本\n- `node` 版本\n- `vitepress` 版本\n- `Teek` 版本\n 参与开发\n参考 开发指南。\n 代码规范\n在编写代码时,请注意:\n- 确保代码可以通过"
          },
          {
            "url": "/01.指南/40.开发/01.开发指南.html",
            "frontmatter": {
              "title": "开发指南",
              "date": "2025-03-26 16:31:58",
              "permalink": "/guide/dev",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "开发指南",
            "date": "2025-03-26 16:31:58",
            "capture": "开发环境\n| 类型          | 名称              | 版本             |\n| :------------ | :---------------- | :--------------- |\n| 操作系统      | Windows 11 专业版 | 26100.3476       |\n| 开发工具      | Microsoft VS Code | 1.96.2           |\n| 调试工具      | Microsoft Edge    | 134.0.3124.85    |\n| 代码版本控制  | Git               |"
          },
          {
            "url": "/01.指南/20.相关/99.鸣谢.html",
            "frontmatter": {
              "title": "鸣谢",
              "date": "2025-03-20 14:14:28",
              "permalink": "/thank-they",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "鸣谢",
            "date": "2025-03-20 14:14:28",
            "capture": "本文记录 Teek 在成长过程中帮忙测试、开发的小伙伴们,以及 Teek 参考的其他优质 VitePress、VuePress 主题,感谢你们让 Teek 更加优秀。\n 主题\nTeek 的灵感主要来自于 vuepress-theme-vdoing,在 VitePress 没有出来之前,Teek 使用 `vuepress-theme-vdoing` 搭建的博客站,因此 Teek 含有 `vuepress-theme-vdoing` 的绝大部分功能。\n```yaml\n- name: vuepress-theme-vdoing\n  desc: 🚀一款简洁高效的VuePress 知识管理&博客 主题"
          },
          {
            "url": "/01.指南/10.使用/20.样式增强.html",
            "frontmatter": {
              "title": "样式增强",
              "date": "2025-03-19 15:36:36",
              "permalink": "/styles-plus",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "样式增强",
            "date": "2025-03-19 15:36:36",
            "capture": "Teek 提供了一些样式文件来加强 VitePress 和 Teek 的样式,比如:\n\n文档风格首页添加彩色渐变动画、文章一级标题添加渐变色、Banner 描述添加渐变效果、侧边栏标题组字号加粗等。\n&gt; Teek\n首页 Banner 描述添加渐变效果、首页 Banner 壁纸添加缩放动画等\n这些样式文件并不会直接生效,您需要手动引入这些文件。\n VitePress 样式增强\n在 vp-plus 目录下查看所有的样式样式增强文件内容。\nSCSS 文件如下(可能不全):\n```sh\nvp-plus.\n├─ aside.scss                    文章页目录栏样式\n├─ b"
          },
          {
            "url": "/01.指南/20.相关/02.插槽布局.html",
            "frontmatter": {
              "title": "插槽布局",
              "date": "2025-03-17 17:30:02",
              "permalink": "/guide/slot",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "插槽布局",
            "date": "2025-03-17 17:30:02",
            "capture": "Teek 提供了很多的插槽,能够被用来在页面的特定位置注入内容,下面这个例子展示了将一个组件注入到首页右侧卡片栏底部:\n```ts\n// .vitepress/theme/index.ts\nimport Teek from \"vitepress-theme-teek\";\nimport MyLayout from \"./MyLayout.vue\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  // 使用注入插槽的包装组件覆盖 Layout\n  Layout: MyLayout,\n};\n`"
          },
          {
            "url": "/01.指南/20.相关/10.写作排版.html",
            "frontmatter": {
              "title": "写作排版",
              "date": "2025-03-08 18:28:00",
              "permalink": "/guide/typesetting",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "写作排版",
            "date": "2025-03-08 18:28:00",
            "capture": "统一中文文案、排版的相关用法,降低团队成员之间的沟通成本,增强网站气质\n&lt;!-- markdownlint-disable MD028 --\n 空格\n「有研究显示,打字的时候不喜欢在中文和英文之间加空格的人,感情路都走得很辛苦,有七成的比例会在 34 岁的时候跟自己不爱的人结婚,而其余三成的人最后只能把遗产留给自己的猫。毕竟爱情跟书写都需要适时地留白。\n与大家共勉之。\n—— vinta/paranoid-auto-spacing\n 中英文之间需要增加空格\n正确:\n&gt; 在 LeanCloud 上,数据存储是围绕 `AVObject` 进行的。\n错误:\n&gt; 在LeanCloud上"
          },
          {
            "url": "/01.指南/10.使用/15.主题增强.html",
            "frontmatter": {
              "title": "主题增强",
              "date": "2025-03-08 17:30:12",
              "permalink": "/guide/theme-enhance",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "主题增强",
            "date": "2025-03-08 17:30:12",
            "capture": "Teek 内置了 4 种布局模式、8 种主题风格可供切换,请将鼠标移到右上角的主题增强面板进行体验。\n 布局模式\n4 种布局模式分别为:\n- `fullWidth`:全部展开,使侧边栏和内容区域占据整个屏幕的全部宽度\n- `sidebarWidthAdjustableOnly`:全部展开,侧边栏宽度可调,但内容区域宽度不变,调整后的侧边栏将可以占据整个屏幕的最大宽度\n- `bothWidthAdjustable`:全部展开,侧边栏和内容区域宽度均可调,调整后的侧边栏和内容区域将可以占据整个屏幕的最大宽度\n- `original`:原始的 VitePress 默认布局宽度\n可以通过主题配置的 `"
          },
          {
            "url": "/01.指南/10.使用/10.摘要与封面.html",
            "frontmatter": {
              "title": "摘要与封面",
              "date": "2025-03-08 16:55:04",
              "permalink": "/guide/summary",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/8.webp"
            },
            "title": "摘要与封面",
            "date": "2025-03-08 16:55:04",
            "capture": "首页的文章列表中,可以显示文章摘要和封面图。\n 文章摘要\n文章摘要的设置有三种方式:\n- 使用 `frontmatter.description` 属性\n- 使用 `` 注释\n- 使用 `post.showCapture` 属性\n如果三种方式都设置,只有一种生效,优先级为:使用 `frontmatter.description` 属性 \n frontmatter.description 属性\n在文章页的 `frontmatter` 使用 `description` 来当作文章摘要。\n```yaml {5}\n---\ntitle: Description 示例\ndate: 2024-10-27 2"
          },
          {
            "url": "/01.指南/10.使用/25.国际化.html",
            "frontmatter": {
              "title": "国际化",
              "date": "2025-03-07 15:30:08",
              "permalink": "/guide/i18n",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "国际化",
            "date": "2025-03-07 15:30:08",
            "capture": "Teek 默认使用中文,如果你希望使用其他语言,你可以参考下面的方案。\n 全局语言配置 &lt;Badge type=\"tip\" text=\"v1.1.0\" /\n在 `Teek.Layout` 组件传入 `locale` 参数,即可设置默认语言。\n```ts\n// .vitepress/config.mts\nimport Teek, { en } from \"vitepress-theme-teek\";\nimport \"vitepress-theme-teek/index.css\";\nexport default {\n  extends: Teek,\n  Layout: h(Teek.Layo"
          },
          {
            "url": "/01.指南/10.使用/30.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-06 17:09:17",
              "permalink": "/guide/plugins",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/2.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-06 17:09:17",
            "capture": "VitePress 是基于 Vite 进行搭建,因此可以编写 Vite 插件来辅助完成一些在无法在浏览器环境完成的动作,比如在 VitePress 启动后,扫描文档目录下的 Markdown 文件,提取 `frontmatter` 的信息进行分析,或在渲染 Markdown 内容前,对其进行加工。\n得益于 Vite 环境,Teek 内置了一些 Vite 插件来执行在 Node 环境才能完成的事情,这些插件分别为:\n- vitepress-plugin-permalink\n- vitepress-plugin-sidebar-resolve\n- vitepress-plugin-md-h1\n- "
          },
          {
            "url": "/01.指南/01.简介/20.结构化目录.html",
            "frontmatter": {
              "title": "结构化目录",
              "date": "2025-03-06 16:14:27",
              "permalink": "/guide/directory-structure",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "结构化目录",
            "date": "2025-03-06 16:14:27",
            "capture": "目录结构\n在运行或构建 Teek 时,Teek 会按照目录结构自动生成一个结构化的 侧边栏、目录树、面包屑、文章列表、文章分析 等数据。\n侧边栏和目录树的标题获取有如下特性:\n- 针对文件夹,先分别扫描该文件夹下的 `index.md`、`index.MD`、`[文件夹名].md` 文件,并尝试获取里面的一级标题,如果获取到一级标题,则使用,否则使用文件夹名\n- 针对 Markdown 文档,其获取顺序:`formatter.title` \n面包屑的标题默认按照 Markdown 文件所在的目录层级名进行获取。\nTeek 建议给每个 Markdown 文件设置 `formatter.title"
          },
          {
            "url": "/01.指南/01.简介/01.简介.html",
            "frontmatter": {
              "title": "简介",
              "date": "2025-03-06 13:25:02",
              "permalink": "/guide/intro",
              "categories": [
                "指南"
              ],
              "tags": [
                "指南"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "简介",
            "date": "2025-03-06 13:25:02",
            "capture": "Teek 是一个轻量、简洁高效、灵活配置、易于扩展的 VitePress 主题 ✨,是在默认主题的基础上进行拓展,支持 VitePress 的所有功能、配置,完全可以零成本迁移过来。\n使用 Teek 可以很方便的搭建一个结构化的知识库或博客。\n- Node.js `18.0.0` 及以上版本\n- 在使用 Teek 前,要求至少会 VitePress 的基本使用和默认主题的基本配置,然后再查看本文档\n- 本文档仅负责介绍 Teek 对 VitePress 默认主题的扩展部分,更多配置请移步 VitePress 中文文档\n 特性\n\n包含三种典型的知识管理形态:结构化、碎片化、体系化。轻松打造属于你"
          }
        ],
        "配置": [
          {
            "url": "/10.配置/01.主题配置/01.配置简介.html",
            "frontmatter": {
              "title": "配置简介",
              "date": "2025-03-06 09:24:35",
              "permalink": "/reference/config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "sticky": 10,
              "coverImg": "https://vp.teek.top/blog/bg2.webp"
            },
            "title": "配置简介",
            "date": "2025-03-06 09:24:35",
            "capture": "Teek 内置了大量的主题配置,但不会影响 vitepress 原来的配置,两者是独立生效的。\n主题的配置通常添加在 `.vitepress/config.mts` 文件中。\n如下是一份简单的模板:\n```ts\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\n// Teek 主题配置\nconst teekConfig = defineTeekConfig({\n  // ...\n});"
          },
          {
            "url": "/10.配置/01.主题配置/50.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-05-19 12:49:08",
              "permalink": "/reference/function-page-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "功能页配置",
            "date": "2025-05-19 12:49:08",
            "capture": "私密文章(登录页)&lt;Badge type=\"tip\" text=\"v1.3.0\" /\n什么是登录页?在导航栏 &lt;mark&gt;功能页 -&gt; 登录页&lt;/mark&gt; 点击查看效果。\n您可以通过 `teek-login-page` 插槽自定义登录页。\n使用登录页需要 2 个步骤:\n- 创建一个登录页,如何创建请看 登录页\n- 开启私密文章监听\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = "
          },
          {
            "url": "/10.配置/01.主题配置/40.插件配置.html",
            "frontmatter": {
              "title": "插件配置",
              "date": "2025-03-09 15:32:59",
              "permalink": "/reference/plugin-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "插件配置",
            "date": "2025-03-09 15:32:59",
            "capture": "vitePlugins\n内置 Vite 插件配置。\nTeek 内置的 Vite 插件详细介绍请看 Vite 插件。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  vitePlugins: {\n    sidebar: true, // 是否启用 sidebar 插件\n    sidebarOption: {}, // sidebar 插件配置项\n "
          },
          {
            "url": "/10.配置/01.主题配置/30.文章配置.html",
            "frontmatter": {
              "title": "文章配置",
              "date": "2025-03-09 15:32:33",
              "permalink": "/reference/article-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "文章配置",
            "date": "2025-03-09 15:32:33",
            "capture": "articleAnalyze\n文章信息分析配置,分别作用在首页和文章页。\n如果在 `config.mts` 中配置,则首页和文章页都生效。\n文章页的图片点击可以预览,但是当图片元素的 class 里存在 `no-preview`,则不会触发预览,这对于兼容 Teek 的图片相关插件有所帮助。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  artic"
          },
          {
            "url": "/10.配置/01.主题配置/25.页脚配置.html",
            "frontmatter": {
              "title": "页脚配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/footer-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "页脚配置",
            "date": "2025-03-09 15:32:13",
            "capture": "social\n社交信息配置,通常为一个社交图标,点击后将会跳转到社交软件的个人主页。\n`social` 在卡片栏的博主信息区和页脚都会生效。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  social: [\n    {\n      icon: \"mdi:github\",\n      name: \"GitHub\",\n      link: \"http"
          },
          {
            "url": "/10.配置/01.主题配置/35.评论配置.html",
            "frontmatter": {
              "title": "评论配置",
              "date": "2025-03-09 15:32:13",
              "permalink": "/reference/comment-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/7.webp"
            },
            "title": "评论配置",
            "date": "2025-03-09 15:32:13",
            "capture": "comment\n评论配置,目前内置 `Giscus`、`Twikoo`、`Waline`、`Artalk` 四种评论插件。\n支持每个文章页配置不同的在评论区提供者 `provider`。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  comment: {\n    provider: \"giscus\", // 评论区提供者\n    // 评论区配置项"
          },
          {
            "url": "/10.配置/01.主题配置/20.卡片栏配置.html",
            "frontmatter": {
              "title": "卡片栏配置",
              "date": "2025-03-09 15:31:48",
              "permalink": "/reference/card-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "卡片栏配置",
            "date": "2025-03-09 15:31:48",
            "capture": "homeCardSort\n- 类型:`(\"topArticle\" | \"category\" | \"tag\" | \"friendLink\" | \"docAnalysis\")[]`\n- 默认值:`[\"topArticle\", \"category\", \"tag\", \"friendLink\", \"docAnalysis\"]`\n首页卡片的位置排序,当设置了 `homeCardSort` 但没有全部补全内容,Teek 会将剩余内容按照 `homeCardSort` 的顺序进行添加。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTee"
          },
          {
            "url": "/10.配置/01.主题配置/15.文章列表配置.html",
            "frontmatter": {
              "title": "文章列表配置",
              "date": "2025-03-09 15:31:31",
              "permalink": "/reference/post-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "文章列表配置",
            "date": "2025-03-09 15:31:31",
            "capture": "post\n文章列表配置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  post: {\n    postStyle: \"list\", // 文章列表风格\n    excerptPosition: \"top\", // 文章摘要位置\n    showMore: true, // 是否显示更多按钮\n    moreLabel: \"阅读全文 \n    co"
          },
          {
            "url": "/10.配置/01.主题配置/10.Banner 配置.html",
            "frontmatter": {
              "title": "Banner 配置",
              "date": "2025-03-09 15:22:04",
              "permalink": "/reference/banner-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/17.webp"
            },
            "title": "Banner 配置",
            "date": "2025-03-09 15:22:04",
            "capture": "banner\n首页 Banner 配置,位于首页顶部。\n在首页 `index.md` 的 `frontmatter` 中,`description` 配置项除了 `tk.banner.description` 设置,也可以使用 `tk.description` 设置。\n```ts [config.mts]\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-theme-teek/config\";\nconst teekConfig = defineTeekConfig({\n  banner: {\n    ena"
          },
          {
            "url": "/10.配置/01.主题配置/05.全局配置.html",
            "frontmatter": {
              "title": "全局配置",
              "date": "2025-03-09 15:20:09",
              "permalink": "/reference/config/global-config",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/15.webp"
            },
            "title": "全局配置",
            "date": "2025-03-09 15:20:09",
            "capture": "全局配置是影响范围较广的配置。\n teekTheme\n- 类型:`boolean`\n- 默认值:`true`\n是否启用主题,如果为 false,则不会启用主题的 99% 功能,只保留如下功能:\n- 自动添加侧边栏\n- 自动添加一级标题\n- 自动添加永久链接\n- 文档内容分析(作者、创建时间、文章字数、预计阅读时间等信息)\n- 锚点滚动\n- 深色/浅色模式过渡动画\n如果您仍然想要关闭这些部分功能,Teek 也提供了相关配置项来关闭。\n配置如下:\n```ts\n// .vitepress/config.mts\nimport { defineTeekConfig } from \"vitepress-t"
          },
          {
            "url": "/10.配置/40.主题增强拓展.html",
            "frontmatter": {
              "title": "主题增强拓展",
              "date": "2025-03-08 17:46:39",
              "permalink": "/reference/theme-enhance",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "主题增强拓展",
            "date": "2025-03-08 17:46:39",
            "capture": "在 主题增强 中介绍了主题风格的使用,而不同的用户有不同的审美需求,因此 Teek 支持用户修改自带的主题模式,也可以拓展全新的主题模式。\n 主题风格\n 主题风格修改\nTeek 使用 VitePress 的 `css var` 变量来实现主题风格。当切换尺寸时,Teek 会修改 `html` 标签的 `theme-color` 属性,进而改变 `css var` 变量,从而达到修改主题风格的效果。\n如果觉得 Teek 提供的主题风格不符合自己的风格,可以修改不同 `theme-color` 下对应的 `css var` 变量来达到目的。\nTeek 主题风格的 `css var` 变量如下:\n`"
          },
          {
            "url": "/10.配置/10.frontmatter 配置.html",
            "frontmatter": {
              "title": "frontmatter 配置",
              "date": "2025-03-07 16:52:36",
              "permalink": "/reference/frontmatter",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/18.webp"
            },
            "title": "frontmatter 配置",
            "date": "2025-03-07 16:52:36",
            "capture": "`frontmatter` 支持基于页面的配置。在每个 Markdown 文件中,可以使用 `frontmatter` 配置来覆盖 主题配置 中的大部分选项。\n 首页配置\n description\nTeek 提供了 `description` 选项,用于在首页 Banner 展示一些描述信息,您可以通过 `tk.description` 或者 `tk.banner.description` 来配置首页的 `description`。\n`description` 获取优先级:`tk.banner.description` \n```yaml\n---\nlayout: home\ntk:\n  descr"
          },
          {
            "url": "/10.配置/30.功能页配置.html",
            "frontmatter": {
              "title": "功能页配置",
              "date": "2025-03-07 16:28:22",
              "permalink": "/reference/function-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "功能页配置",
            "date": "2025-03-07 16:28:22",
            "capture": "Teek 支持构建分类页、标签页、归档页,文章清单页、登录页、风险链接提示页,这些页面本质上是一个 Markdown 文档,通过在 `frontmatter` 配置来开启功能,因此可以与其他文档一起放到任意目录下,并且和正常 Markdown 文档一样可以进行内容编写。\n但是 Teek 建议放在 `@pages` 目录下,因为 Teek 不会对 `@pages` 目录下的文档做任何处理(自动生成侧边栏、站点分析,自动生成 `frontmatter` 等)。\n```sh\n.\n├─ @pages\n│  ├── archivesPage.md\n│  ├── articleOverviewPage.m"
          },
          {
            "url": "/10.配置/20.目录页配置.html",
            "frontmatter": {
              "title": "目录页配置",
              "date": "2025-03-07 15:59:50",
              "permalink": "/reference/catalogue-page",
              "categories": [
                "配置"
              ],
              "tags": [
                "配置"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录页配置",
            "date": "2025-03-07 15:59:50",
            "capture": "什么是目录页?可以在本文章最上方的面包屑里点击 &lt;mark\n目录页数据来源于 `vitepress-plugin-catalogue` 插件实现,如果禁用了该插件,目录页将不会生效。\n目录页本质上是一个 Markdown 文档,因此可以与其他文档一起放到任意目录下,如:\n```sh [当前文件夹] {4,10,15}\n.\n│\n├─ 01.指南\n│  │  00.目录.md\n│  ├─ 01.指南 - 使用\n│  │  │   00.目录.md\n│  │  ├── 04.使用 - 登录认证.md\n│  │  ├── 07.使用 - 权限认证.md\n│  ├─ 05.指南 - 环境集成\n│ "
          }
        ],
        "NAS": [
          {
            "url": "/20.文档/50.NAS.html",
            "frontmatter": {
              "date": "2025-05-17 20:48:44",
              "title": "NAS",
              "coverImg": "https://onedayxyy.cn/images/15.webp",
              "permalink": "/NAS",
              "categories": [
                "专题"
              ],
              "tags": [
                "NAS"
              ]
            },
            "title": "NAS",
            "date": "2025-05-17 20:48:44",
            "capture": "NAS\n 目录\n[[toc]]\n[toc]\n 我的需求\n关于NAS,我的需求是什么呢?😜\n1. 生产机器:(部署博客、图床、一些服务)\n2. it学习/测试机器\n3. 工作pc\n4. 家用pc\n5. 下载机\n6. 本地大容量存储(存储+备份)\n\n- 要么部署在云服务器上+cdn;(云服务器只能白嫖1年,各个厂商,来回迁移数据也会麻烦一些的;感觉只能上nas了;😂)\n- 将docus静态文件和图床放到oss;(不推荐,oss要耗费流量;且自己也想在服务器部署一些服务出来的)\n需求:\n&gt; - 低功耗(小巧、静音、省电)\n&gt; - 数据备份\n&gt; - 硬盘开销\n&gt; - ups"
          }
        ],
        "主题开发": [
          {
            "url": "/15.主题开发/70.开发技巧.html",
            "frontmatter": {
              "title": "开发技巧",
              "date": "2025-03-31 06:19:33",
              "permalink": "/develop/skill",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/6.webp"
            },
            "title": "开发技巧",
            "date": "2025-03-31 06:19:33",
            "capture": "介绍 Teek 开发路程的一些技巧。\n 规范\nTeek 建议在进行项目开发时,一个文件的代码行数推荐 300 行以下,最好不超过 500 行,禁止超过 1000 行。\n如果超过 300+ 行,应该考虑下是否可以拆分为多个文件,这是一个良好的 结构化思维和分治思维。\nTeek 建议您在开发前先思考有哪些模块,然后分别创建模块文件,而不是先在一个文件写完,再拆分。\n举个例子:\n代码合在一个文件:\n```html\n&lt;div\n  &lt;div class=\"header\"&gt;\n    &lt;img src=\"logo.png\" /&gt;\n    &lt;h1&gt;网站名称&lt;/h"
          },
          {
            "url": "/15.主题开发/80.Vite 插件.html",
            "frontmatter": {
              "title": "Vite 插件",
              "date": "2025-03-19 14:01:57",
              "permalink": "/develop/vite",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/16.webp"
            },
            "title": "Vite 插件",
            "date": "2025-03-19 14:01:57",
            "capture": "VitePress 处于 Vite 环境下,因此天然支持 Vite 插件。\nTeek 有过一个想法,那就是将所有功能完全插件化,通过 `NPM` 下载各个插件来合并成主题:\n- 目录页插件\n- 归档页插件\n- 文章信息插件\n- Footer 插件\n- ...\n这完全是可行的,每个插件都是独立的,支持任何 VitePress 项目。\n但是目前没有太多精力去实现这个计划,您可以通过 Teek 的按需引入功能(等价于下载插件),来加载自己需要的功能。\n在了解 Vite 插件实现之前,建议您先去 Vite 官方文档 了解什么是 Vite。\n下面介绍在 VitePress 中自定义 Vite 插件的场景"
          },
          {
            "url": "/15.主题开发/40.样式布局.html",
            "frontmatter": {
              "title": "样式布局",
              "date": "2025-03-19 03:57:11",
              "permalink": "/develop/styles",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/9.webp"
            },
            "title": "样式布局",
            "date": "2025-03-19 03:57:11",
            "capture": "样式与组件分离\nTeek 并没有和普通的 Vue 项目一样,使用如下模板进行编写组件:\n```vue\n&lt;script setup lang=\"ts\"\n// 组件逻辑\n&lt;/script&gt;\n&lt;template&gt;\n  &lt;!-- 组件模板 --&gt;\n&lt;/template&gt;\n&lt;style lang=\"scss\" scoped&gt;\n/* 组件样式 */\n&lt;/style&gt;\n```\n而是使用:\n```vue\n&lt;script setup lang=\"ts\"&gt;\n// 组件逻辑\n&lt;/script&gt;\n&lt;templa"
          },
          {
            "url": "/15.主题开发/10.主题配置.html",
            "frontmatter": {
              "title": "主题配置",
              "date": "2025-03-19 02:03:46",
              "permalink": "/develop/config",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/19.webp"
            },
            "title": "主题配置",
            "date": "2025-03-19 02:03:46",
            "capture": "在主题开发中,往往需要提供一些配置来丰富主题的功能,最简单的是和 VitePress 的 `themeConfig` 配置合在一起:\n```ts {8}\n// .vitepress/config.mts\nimport { defineConfig } from \"vitepress\";\nexport default defineConfig({\n  // ...\n  themeConfig: {\n    // vitepress 配置\n    // 自定义主题配置\n  },\n});\n```\n然后在组件里通过 `useData` 获取 `themeConfig` 的内容:\n```vue\n&lt;"
          },
          {
            "url": "/15.主题开发/20.目录结构.html",
            "frontmatter": {
              "title": "目录结构",
              "date": "2025-03-18 17:51:06",
              "permalink": "/develop/catalogue",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/14.webp"
            },
            "title": "目录结构",
            "date": "2025-03-18 17:51:06",
            "capture": "Teek 的目录结构如下:\n```sh\npackages.\n├─ components    组件目录,具体内容请看「组件布局的目录结构」\n├─ config        配置文件目录,在 `.vitepress/config.mts` 文件中引入\n├─ helper        工具类目录\n├─ composables   composables 目录\n├─ locale        国际化文件目录\n├─ markdown      markdown 插件目录\n├─ static        静态资源目录\n├─ teek          Teek 入口文件\n├─ theme-cha"
          },
          {
            "url": "/15.主题开发/60.容器自定义.html",
            "frontmatter": {
              "title": "容器自定义",
              "date": "2025-03-18 17:07:21",
              "permalink": "/develop/container",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "容器自定义",
            "date": "2025-03-18 17:07:21",
            "capture": "Teek 提供了两种创建容器的 API,这两种容器 Teek 分别命名为 Simple 容器、Card 容器。\nTeek 容器都有哪些?请看 Markdown 拓展。\n容器 API 请看 Markdown 插件工具\n Simple 容器\nVitePress 的 `info`、`tip`、`warning`、`danger` 容器都是 Simple 容器,其原理是添加 `div` 来包裹 Markdown 文本,然后通过 CSS 来实现样式。\n举个例子(并非实际)\n```markdown\n测试 TIP\n```\n最终渲染为:\n```html\n&lt;div class=\"tip\"\n  &lt;p "
          },
          {
            "url": "/15.主题开发/30.组件布局.html",
            "frontmatter": {
              "title": "组件结构",
              "date": "2025-03-18 13:27:53",
              "permalink": "/develop/components",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "coverImg": "https://onedayxyy.cn/images/12.webp"
            },
            "title": "组件结构",
            "date": "2025-03-18 13:27:53",
            "capture": "一个项目的功能组件虽然有很多,但是入口组件只有一个,如果您不知道这些功能组件都在哪里执行,不妨从入口组件开始解读,一步一步往下延伸,最终把项目功能吃透。\nTeek 在首页、文章页、空白页、全局都写了组件来实现功能,但是这些组件并不是分开引入,而是统一在 `Layout` 组件里引入,并派发到 VitePress 不同的插槽,如:\n```vue\n&lt;!-- src/layout/index.vue --\n&lt;script setup lang=\"ts\" name=\"TeekLayout\"&gt;\nimport DefaultTheme from \"vitepress/theme\";\nim"
          },
          {
            "url": "/15.主题开发/01.开发思路.html",
            "frontmatter": {
              "title": "开发思路",
              "date": "2025-03-17 15:46:42",
              "permalink": "/develop/intro",
              "categories": [
                "主题开发"
              ],
              "tags": [
                "主题开发"
              ],
              "top": true,
              "coverImg": "https://onedayxyy.cn/images/10.webp"
            },
            "title": "开发思路",
            "date": "2025-03-17 15:46:42",
            "capture": "只要会编写 `Vue` 组件,那么就可以发挥您天马行空的想象力,来构建自己的主题。\n2025-03-17 @Teek\n本系列为 主题开发,主要介绍 Teek 的开发思路,当然这只是提供思路,不会细到每一个文件的逻辑讲解。\n在阅读完本系列内容后,您可以去阅读 Teek 的源码,了解 Teek 的实现思路,也许对您的主题开发之路有些帮助。\n基于 VitePress 开发一个主题是非常简单的,在 自定义主题 和 拓展默认主题 已经详细的介绍了如何开发一个主题。\n Layout 函数\nVitePress 默认内置了一套主题,如果觉得内置主题的功能不满足需求或者想额外添加一些功能,可以编写组件来替换/拓"
          }
        ],
        "博客搭建": [
          {
            "url": "/20.文档/30.博客搭建.html",
            "frontmatter": {
              "title": "博客搭建",
              "date": "2025-03-30 01:16:23",
              "permalink": "/blog",
              "categories": [
                "博客搭建"
              ],
              "tags": [
                "博客搭建"
              ],
              "coverImg": "https://onedayxyy.cn/images/1.webp"
            },
            "title": "博客搭建",
            "date": "2025-03-30 01:16:23",
            "capture": ""
          }
        ],
        "音乐": [
          {
            "url": "/20.文档/75.音乐.html",
            "frontmatter": {
              "title": "音乐",
              "date": "2024-12-23 19:18:56",
              "permalink": "/music",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "音乐"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/5.webp"
            },
            "title": "音乐",
            "date": "2024-12-23 19:18:56",
            "capture": "待下载"
          }
        ],
        "电影": [
          {
            "url": "/20.文档/80.电影.html",
            "frontmatter": {
              "title": "电影",
              "date": "2024-12-23 19:18:56",
              "permalink": "/movie",
              "categories": [
                "娱乐"
              ],
              "tags": [
                "电影"
              ],
              "author": {
                "name": "One",
                "link": "https://wiki.onedayxyy.cn/"
              },
              "coverImg": "https://onedayxyy.cn/images/3.webp"
            },
            "title": "电影",
            "date": "2024-12-23 19:18:56",
            "capture": "电影\n 目录\n[[toc]]\n[toc]\n 犯罪片\n 《怒火救援 Man on Fire (2004)》✅\n\n 战争\n 《敢死队4》✅"
          }
        ],
        "运维": [
          {
            "url": "/20.文档/01.linux.html",
            "frontmatter": {
              "title": "运维",
              "date": "2024-12-20 10:50:31",
              "permalink": "/linux",
              "categories": [
                "运维"
              ],
              "tags": [
                "运维"
              ],
              "coverImg": "https://onedayxyy.cn/images/13.webp"
            },
            "title": "运维",
            "date": "2024-12-20 10:50:31",
            "capture": ""
          }
        ]
      }
    },
    "groupCards": {
      "categories": [
        {
          "name": "teek",
          "length": 2
        },
        {
          "name": "指南",
          "length": 19
        },
        {
          "name": "配置",
          "length": 14
        },
        {
          "name": "文档",
          "length": 2
        },
        {
          "name": "精神小屋",
          "length": 2
        },
        {
          "name": "专题",
          "length": 5
        },
        {
          "name": "主题开发",
          "length": 8
        },
        {
          "name": "博客搭建",
          "length": 1
        },
        {
          "name": "git",
          "length": 1
        },
        {
          "name": "OneWiki",
          "length": 4
        },
        {
          "name": "面试",
          "length": 1
        },
        {
          "name": "脚本",
          "length": 1
        },
        {
          "name": "前端demo",
          "length": 1
        },
        {
          "name": "工具",
          "length": 1
        },
        {
          "name": "运维",
          "length": 2
        },
        {
          "name": "nginx",
          "length": 1
        },
        {
          "name": "简介",
          "length": 1
        },
        {
          "name": "娱乐",
          "length": 2
        },
        {
          "name": "编程",
          "length": 2
        },
        {
          "name": "go",
          "length": 1
        },
        {
          "name": "python",
          "length": 1
        }
      ],
      "tags": [
        {
          "name": "teek",
          "length": 2
        },
        {
          "name": "指南",
          "length": 17
        },
        {
          "name": "配置",
          "length": 14
        },
        {
          "name": "NAS",
          "length": 1
        },
        {
          "name": "主题开发",
          "length": 8
        },
        {
          "name": "博客搭建",
          "length": 1
        },
        {
          "name": "音乐",
          "length": 1
        },
        {
          "name": "电影",
          "length": 1
        },
        {
          "name": "运维",
          "length": 1
        }
      ]
    }
  }
}

Page Data

{
  "title": "Runtime API Examples",
  "description": "",
  "frontmatter": {
    "outline": "deep"
  },
  "headers": [],
  "relativePath": "api-examples.md",
  "filePath": "api-examples.md",
  "lastUpdated": 1751469256000
}

Page Frontmatter

{
  "outline": "deep"
}

More

Check out the documentation for the full list of runtime APIs.

最近更新