个人技术博客,使用 VitePress 构建。
npm installnpm run devnpm run buildnpm run preview.
├── .vitepress/ # VitePress 配置
│ ├── config.mts # 站点配置
│ └── theme/ # 主题定制
├── blog/ # 博客文章
├── public/ # 静态资源
├── index.md # 首页
├── about.md # 关于页面
└── archive.md # 归档页面
在 blog/ 目录下创建 Markdown 文件即可。文章支持 frontmatter:
---
title: 文章标题
description: 文章描述
date: 2025-01-27
tags:
- 标签1
- 标签2
---
# 文章内容本博客使用 GitHub Actions 自动部署到 GitHub Pages。
推送到 master 分支后会自动触发部署流程。
MIT
- GitHub: @fayching
- Blog: fayching.github.io