init blog
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
|
||||
export default defineConfig({
|
||||
title: "fly's Blog",
|
||||
description: '记录技术成长与生活点滴,分享有趣的世界。',
|
||||
lang: 'zh-CN',
|
||||
themeConfig: {
|
||||
sidebar: {
|
||||
'/notes/': [
|
||||
{ text: 'HTML', link: '/notes/html' },
|
||||
{ text: 'Vue', link: '/notes/vue' },
|
||||
{ text: 'React', link: '/notes/react' },
|
||||
{ text: 'JS', link: '/notes/js' },
|
||||
{ text: 'CSS', link: '/notes/css' },
|
||||
{ text: 'Webpack', link: '/notes/webpack' },
|
||||
{ text: 'Git', link: '/notes/git' }
|
||||
],
|
||||
'/share/': [
|
||||
{ text: '分享', link: '/share/share' }
|
||||
]
|
||||
},
|
||||
socialLinks: [
|
||||
{ icon: 'gitea', link: 'http://124.221.147.173:3000/' }
|
||||
],
|
||||
footer: {
|
||||
message: '本项目采用 MIT 许可协议发布。',
|
||||
copyright: '版权所有 © 2024-present 王鑫飞 (fly)'
|
||||
}
|
||||
},
|
||||
markdown: {
|
||||
lineNumbers: true
|
||||
},
|
||||
lastUpdated: true,
|
||||
appearance: false // 禁用主题切换
|
||||
})
|
||||
Reference in New Issue
Block a user