快速开始
安装依赖
pip install -r requirements.txt
修改配置
编辑 blog.config.py,填写站点标题、作者与站点 URL。
本地预览与写作
python serve.py
浏览器打开 http://127.0.0.1:5000 阅读博客,打开 http://127.0.0.1:5000/editor/ 用网页端 Markdown 编辑器写作,保存后自动写回本地 blog/ 目录。
构建
python build.py
生成静态站点到 dist/ 目录。