File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 3030 submodules : recursive
3131 - uses : peaceiris/actions-hugo@v2
3232 with :
33- hugo-version : " latest "
33+ hugo-version : " 0.140.2 "
3434 extended : true
3535 - name : Setup Pages
3636 id : pages
Original file line number Diff line number Diff line change @@ -25,11 +25,6 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig langu
2525#+end_quote
2626
2727本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建。
28- 预览之前请确保已安装必要的 =postcss= 依赖
29- #+begin_src bash
30- # install depends
31- npm i -D postcss postcss-cli autoprefixer
32- #+end_src
3328
3429#+begin_src bash
3530# For macOS
@@ -47,3 +42,11 @@ sudo snap install hugo
4742# run server
4843hugo server
4944#+end_src
45+
46+ 如果启动 server 时报错,可以安装以下依赖:
47+ #+begin_src bash
48+ # install depends
49+ npm i -D postcss postcss-cli autoprefixer
50+ #+end_src
51+
52+ 参考:https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#install-postcss
You can’t perform that action at this time.
0 commit comments