vitepress-blog-theme
v0.2.4
Published
A blog theme for vitepress
Downloads
8
Readme
Blog Theme
一个 VitePress 的博客主题, live demo: https://vitepress-blog-theme.vercel.app/
Features
- Dark mode
- 支持多种 Layout
- post: 一般日常的文章, 存放于
content/posts
目录下 - issue: 可以当作一种动态的文章来使用, 即不用在本地修改, 直接在页面上编辑, 通过 github action 进行同步, 存放于
content/issues
目录下
- post: 一般日常的文章, 存放于
- 支持 tag 页面
Local development
使用 pnpm
作为包管理器, 你可以通过以下方式进行本地开发
pnpm i
pnpm dev
如果需要测试同步 issue 功能,你需要 go
环境,并运行
export token=your_github_token
export repo=your_repo
pnpm sync
License
MIT License