目录结构(专题制)
/home/blog/
├── site/
│ ├── content/ # Obsidian 库根目录
│ │ ├── index.md # 站点首页
│ │ ├── topics/ # 全部专题
│ │ │ ├── index.md # 专题一览
│ │ │ └── <topic-slug>/ # 单个专题
│ │ │ ├── index.md
│ │ │ ├── *.md
│ │ │ └── src/ # 该专题配图
│ │ ├── attachments/ # 跨专题可下载附件(可选)
│ │ ├── images/ # 站级通用配图(可选)
│ │ └── private/ # 不发布
│ ├── public/ # 构建产物(nginx root)
│ └── quartz.config.yaml
└── rebuild.sh
新增专题
- 创建
content/topics/<topic-slug>/
- 放入笔记与
src/ 配图(Wiki 图链 ![[xxx.png]] 可按文件名解析)
- 写好专题
index.md
- 在
content/index.md 与 content/topics/index.md 加上入口链接
- 执行
/home/blog/rebuild.sh
发布
/home/blog/rebuild.sh