Commit f5ff317
Changed files (3)
README.md
@@ -3,10 +3,18 @@
> [!WARNING]
> This project is still under development and may contain bugs and breaking changes. Use with caution.
-[**Live Demo** (Netlify)](https://astral-halo.netlify.app/) | English | [简体中文](README.zh-CN.md) | [繁體中文](README.zh-TW.md)
+[**Live Demo** (Netlify)](https://astral-halo.netlify.app/) | English | [简体中文](./README.zh-CN.md) | [繁體中文](./README.zh-TW.md)
Astral Halo is a static blog template developed with [Astro](https://astro.build).
+> [!NOTE]
+> This project is hosted in the following repositories:
+>
+> - Codeberg (main repository): [HPCesia/AstralHalo](https://codeberg.org/HPCesia/AstralHalo)
+> - GitHub (mirror): [HPCesia/astral-halo](https://github.com/HPCesia/astral-halo)
+>
+> The mirror repository is only used for collecting issues and does not accept PRs.
+
## Features/TODO
- [x] Built with Astro and Tailwind CSS (using [daisyUI](https://daisyui.com/?lang=en))
@@ -36,7 +44,7 @@ Astral Halo is a static blog template developed with [Astro](https://astro.build
- If [pnpm](https://pnpm.io/) is not installed, first run `npm install -g pnpm` to install it.
3. Customize your blog through the configuration file `src/config.ts`. Configuration documentation can be found in the comments of `src/types/config.ts`.
-4. Run `pnpm new [draft|post] [title]` to create a new article. If creating a draft, run `pnpm pub` to publish it to the `src/content/posts` directory when finished.
+4. Run `pnpm new` to create a new draft. Then run `pnpm pub` to publish it to the `src/content/posts` directory when finished.
5. Refer to the [official guide](https://docs.astro.build/en/guides/deploy/) to deploy your blog to Vercel, Netlify, GitHub Pages, etc. Before deployment, edit the site settings in astro.config.mjs.
## Article Front Matter
README.zh-CN.md
@@ -3,10 +3,18 @@
> [!WARNING]
> 该项目仍在开发中,可能存在 bug,且会有破坏性变更。请谨慎使用。
-[**在线预览**(Netlify)](https://astral-halo.netlify.app/) | [English](README.md) | 简体中文 | [繁體中文](README.zh-TW.md)
+[**在线预览**(Netlify)](https://astral-halo.netlify.app/) | [English](./README.md) | 简体中文 | [繁體中文](./README.zh-TW.md)
Astral Halo 是一个基于 [Astro](https://astro.build) 开发的静态博客模板。
+> [!NOTE]
+> 本项目托管于如下仓库:
+>
+> - Codeberg(主仓库): [HPCesia/AstralHalo](https://codeberg.org/HPCesia/AstralHalo)
+> - GitHub(镜像): [HPCesia/astral-halo](https://github.com/HPCesia/astral-halo)
+>
+> 镜像仓库仅用于收集 issue,不接受 PR。
+
## 功能特性/TODO
- [x] 基于 Astro 和 Tailwind CSS(使用 [daisyUI](https://daisyui.com/?lang=zh_hans))开发
@@ -32,11 +40,10 @@ Astral Halo 是一个基于 [Astro](https://astro.build) 开发的静态博客
1. 使用此模板生成新仓库或 Fork 此仓库。
2. 进行本地开发,克隆仓库到本地,执行 `pnpm install` 安装依赖,执行 `pnpm dev` 启动开发服务器。
-
- 若未安装 [pnpm](https://pnpm.io/),请先执行 `npm install -g pnpm` 安装 pnpm。
3. 通过配置文件 `src/config.ts` 自定义博客,配置说明位于 `src/types/config.ts` 的文档注释中。
-4. 执行 `pnpm new [draft|post] [title]` 创建新文章。若创建的是草稿,编写完成后执行 `pnpm pub` 发布文章到 `src/content/posts` 目录。
+4. 执行 `pnpm new` 创建新草稿。编写完成后执行 `pnpm pub` 发布文章到 `src/content/posts` 目录。
5. 参考[官方指南](https://docs.astro.build/zh-cn/guides/deploy/)将博客部署至 Vercel, Netlify, GitHub Pages 等;部署前需编辑 astro.config.mjs 中的站点设置。
## 文章 Front Matter
README.zh-TW.md
@@ -3,10 +3,18 @@
> [!WARNING]
> 該項目仍在開發中,可能存在 bug,且會有破壞性變更。請謹慎使用。
-[**線上預覽**(Netlify)](https://astral-halo.netlify.app/) | [English](README.md) | [简体中文](README.zh-CN.md) | 繁體中文
+[**線上預覽**(Netlify)](https://astral-halo.netlify.app/) | [English](./README.md) | [简体中文](./README.zh-CN.md) | 繁體中文
Astral Halo 是一個基於 [Astro](https://astro.build) 開發的靜態部落格模板。
+> [!NOTE]
+> 本專案託管於以下倉庫:
+>
+> - Codeberg(主倉庫):[HPCesia/AstralHalo](https://codeberg.org/HPCesia/AstralHalo)
+> - GitHub(鏡像):[HPCesia/astral-halo](https://github.com/HPCesia/astral-halo)
+>
+> 鏡像倉庫僅用於收集 issue,不接受 PR。
+
## 功能特性/TODO
- [x] 基於 Astro 和 Tailwind CSS(使用 [daisyUI](https://daisyui.com/?lang=zh_hant))開發
@@ -36,7 +44,7 @@ Astral Halo 是一個基於 [Astro](https://astro.build) 開發的靜態部落
- 若未安裝 [pnpm](https://pnpm.io/),請先執行 `npm install -g pnpm` 安裝 pnpm。
3. 通過配置檔案 `src/config.ts` 自訂部落格,配置說明位於 `src/types/config.ts` 的文件註釋中。
-4. 執行 `pnpm new [draft|post] [title]` 建立新文章。若建立的是草稿,編寫完成後執行 `pnpm pub` 發布文章到 `src/content/posts` 目錄。
+4. 執行 `pnpm new` 建立新草稿。編寫完成後執行 `pnpm pub` 發布文章到 `src/content/posts` 目錄。
5. 參考[官方指南](https://docs.astro.build/zh-cn/guides/deploy/)將部落格部署至 Vercel, Netlify, GitHub Pages 等;部署前需編輯 astro.config.mjs 中的網站設定。
## 文章 Front Matter