1
0

feat: 初始版本

This commit is contained in:
2025-10-06 18:23:10 +08:00
parent 17a4d7b95e
commit 58d266b4ff
11 changed files with 1529 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
import { defineConfig } from 'vitepress';
import { githubIcon } from './icons.mjs';
// 站点配置
// https://vitepress.dev/zh/reference/site-config
export default defineConfig({
// 站点元数据
base: '/',
lang: 'zh-CN',
title: 'Frost-ZX',
titleTemplate: ':title - Frost-ZX',
description: 'Frost-ZX 的博客',
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
],
// 构建配置
ignoreDeadLinks: true,
metaChunk: true,
// 主题配置
// https://vitepress.dev/zh/reference/default-theme-config
themeConfig: {
logo: '/favicon.png',
nav: [
{ text: '主页', link: '/' },
{ text: '归档', link: '/archives' },
{ text: '关于', link: '/about' },
{ text: '留言板', link: '/comments' },
{ text: '友情链接', link: '/links' },
],
outline: {
label: '目录',
level: 2,
},
sidebar: {
},
socialLinks: [
{ icon: { svg: githubIcon }, link: 'https://github.com/Frost-ZX' },
],
darkModeSwitchLabel: '切换主题',
darkModeSwitchTitle: '切换到深色模式',
docFooter: {
next: '下一篇',
prev: '上一篇',
},
langMenuLabel: '语言设置',
lightModeSwitchTitle: '切换到浅色模式',
returnToTopLabel: '返回顶部',
},
// 网站地图
sitemap: {
hostname: 'https://blog.frost-zx.top',
},
});