From 32628254fadd3952e4cb19b9028ac99e0d022107 Mon Sep 17 00:00:00 2001 From: toto6038 <50100922+toto6038@users.noreply.github.com> Date: Fri, 11 Mar 2022 10:05:23 +0800 Subject: [PATCH] Update README.md with jekyll build guide --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a658d06..88ab582 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,31 @@ # 臺灣自由開源 L10N 社群支援站。l10n-tw.github.io +## 建置網站 + +本網站採用 Jekyll 來產生靜態網頁。您需要安裝[必要軟體](https://jekyllrb.com/docs/installation/)以繼續以下步驟。 + +### 啟動本機測試伺服器 + +```shell +bundle exec jekyll serve +``` + +或 + +```shell +jekyll serve +``` + +### 產生部署網站成品 + +```shell +jekyll build +``` + ## 變數說明 ### 開啟、關閉 AMP 網頁 + ``` AMP: [true], false ``` @@ -20,4 +43,4 @@ info (![img](https://fonts.gstatic.com/s/i/materialicons/info/v7/24px.svg)), warning (![img](https://fonts.gstatic.com/s/i/materialiconsoutlined/warning/v5/24px.svg)) ``` INFO-ICON: [info], warning -``` \ No newline at end of file +```