quartz/content/pages/本站是怎样搭建的.md
enneaa 90c8a23a27
[PUBLISHER] Merge #25
* PUSH NOTE : 本站是怎样搭建的.md

* PUSH NOTE : 博客搭建方案.md

* PUSH NOTE : Obsidian.md

* PUSH NOTE : 数字花园.md
2025-03-27 19:46:12 +08:00

36 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
permalink: "20250327185054"
publish: true
date: 2025-03-27
---
[[文章|文章]] [[教程|教程]] [[./博客搭建方案|博客搭建方案]]
- 本站是怎样搭建的
- 在[[./Obsidian|Obsidian]]中通过 Enveloppe 插件将笔记发布到 Github 仓库。
- 使用 [[Quartz|Quartz]] 将 Github 仓库部署在 Cloudflare ,把笔记转化为网页并发布。
- 需要的应用及服务
- [Obsidian](https://obsidian.md/)
- [Quartz](https://quartz.jzhao.xyz/)
- [Github](https://github.com)
- [Cloudflare](https://dash.cloudflare.com/)
- [Enveloppe插件](https://github.com/Enveloppe/obsidian-enveloppe)
- 参考教程
- [Quartz与Enveloppe插件结合助力Obsidian搭建数字花园](https://lazyjack.12123123.xyz/%E5%85%B6%E5%AE%83%E8%B5%84%E6%BA%90/Obsidian/Quartz%E4%B8%8EEnveloppe%E6%8F%92%E4%BB%B6%E7%BB%93%E5%90%88%E5%8A%A9%E5%8A%9BObsidian%E6%90%AD%E5%BB%BA%E6%95%B0%E5%AD%97%E8%8A%B1%E5%9B%AD)
- [Quartz个人配置修改记录](https://lazyjack.12123123.xyz/%E5%85%B6%E5%AE%83%E8%B5%84%E6%BA%90/Obsidian/Quartz%E4%B8%AA%E4%BA%BA%E9%85%8D%E7%BD%AE%E4%BF%AE%E6%94%B9%E8%AE%B0%E5%BD%95)
- 非常详细可用的教程,基本上按照原文一步一步操作即可。
- [Quartz 官方文档](https://quartz.jzhao.xyz/)
- 官方文档为英文,可安装[沉浸式翻译浏览器插件](https://immersivetranslate.com/zh-Hans/)阅读。
- 官方文档很详细,基本上所有操作都写的很清楚。
- 搭建流程
- 创建自己的 Github 仓库。
- 在 Github 中 fork [原项目](https://github.com/jackyzha0/quartz)在自己的Github中创建原项目的分支。
- 通过 [Cloudflare](https://dash.cloudflare.com/) 部署仓库。
- 详见 [Hosting#Cloudflare Pages](https://quartz.jzhao.xyz/hosting#cloudflare-pages)
- 将 Obsidian 笔记上传到 Github 仓库根目录下的 `content`的文件夹。
- 本站采取的方式
- 通过 [Obsidian Enveloppe插件](https://github.com/Enveloppe/obsidian-enveloppe) 将笔记上传到Github 仓库指定位置。
- Git 拉取 Github 仓库到本地,在`content`的文件夹中添加需要发布的笔记文件,再 Git 推送到远程仓库。
- 笔记推送后Cloudflare 会自动更新并发布笔记,打开网址就可以看到了。
- 设置自定义域名。
- 详见:[Custom domains · Cloudflare Pages docs](https://developers.cloudflare.com/pages/configuration/custom-domains/)