25 lines
874 B
Markdown
25 lines
874 B
Markdown
# amaharacya.one
|
||
|
||
## 基本流程
|
||
|
||
| | |
|
||
| -: | :- |
|
||
| 克隆: | `git clone --recursive https://git.amaharacya.one/amainait/amaharacya.one.git` |
|
||
| 構建: | `./mk.sh` (需要 `apt install php-cli php-mbstring php-xml`) |
|
||
| 伺服: | `python3 -m http.server -d out` (正式部署請使用更好的靜態檔案伺服器) |
|
||
|
||
新頁面放在 `src/pages`。
|
||
一些頁面的特殊邏輯在 `tpl/*.php`。
|
||
|
||
## 小技巧
|
||
|
||
推薦 1 級標題後緊跟 2 級標題(如果有內容的話)。
|
||
一級標題在 `/pages.html` 頁面自動列出。
|
||
|
||
Powered by [dummy-ssg](https://codeberg.org/haydenwu/dummy-ssg).
|
||
|
||
## 授權
|
||
|
||
Copyright © 2025 [Amahara Oyama](https://www.amaharacya.one/) & [Nait](https://unseen-site.fun/).
|
||
|
||
除非另有宣告,所有原始碼以 [MIT/Expat 協議](./LICENSE)釋出,所有頁面內容以 [CC-BY-4.0 協議](./CC-BY-4.0)釋出。
|