import { defineConfig } from "vitepress"; const ogDescription = "个人技术博客,记录一些技术点,分享一些经验,记录一些生活点滴。"; const ogImage = "/logo.png"; const ogTitle = "Kerbores' Blog"; const ogUrl = "https://blog.riemann.tech"; // https://vitepress.dev/reference/site-config export default defineConfig({ title: "Kerbores' Blog", description: "A Blog based on vitepress", lang: "zh-CN", lastUpdated: true, head: [ ["link", { rel: "icon", type: "image/svg+xml", href: "/logo.png" }], ["meta", { property: "og:type", content: "blog" }], ["meta", { property: "og:title", content: ogTitle }], ["meta", { property: "og:image", content: ogImage }], ["meta", { property: "og:url", content: ogUrl }], ["meta", { property: "og:description", content: ogDescription }], ], themeConfig: { logo: "/logo.png", editLink: { text: "为此页提供修改建议", pattern: "https://git.riemann.tech/wangguiyuan/blog/_edit/main/:path", }, search: { provider: "local", }, footer: { copyright: "Copyright © 2025-present blog.riemann.tech", message: ' 渝公网安备50010802005843 渝ICP备2021000420号 ', }, nav: [ { text: "首页", link: "/" }, { text: "开发", activeMatch: "/develop/", items: [ { text: "前端", link: "/develop/front", activeMatch: "/develop/front/", }, { text: "后端", link: "/develop/server", activeMatch: "/develop/server/", }, ], }, { text: "工具", activeMatch: "/tools/", items: [ { text: "基本软件", link: "/tools/base", activeMatch: "/tools/base/", }, { text: "办公", link: "/tools/office", activeMatch: "/tools/office/", }, ], }, { text: "环境", activeMatch: "/environment/", items: [ { text: "操作系统", link: "/environment/os", activeMatch: "/environment/os/", }, { text: "前端", link: "/environment/front", activeMatch: "/environment/front/", }, { text: "后端", link: "/environment/server", activeMatch: "/environment/server/", }, { text: "ide", link: "/environment/ide", activeMatch: "/environment/ide/", }, ], }, { text: "折腾", link: "/explorer", activeMatch: "/explorer/" }, ], sidebar: [ { text: "Examples", items: [ { text: "Markdown Examples", link: "/markdown-examples" }, { text: "Runtime API Examples", link: "/api-examples" }, ], }, ], socialLinks: [ { icon: "gitea", link: "https://git.riemann.tech/wangguiyuan/blog" }, ], }, });