File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 30
30
submodules : recursive
31
31
- uses : peaceiris/actions-hugo@v2
32
32
with :
33
- hugo-version : " latest "
33
+ hugo-version : " 0.140.2 "
34
34
extended : true
35
35
- name : Setup Pages
36
36
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
25
25
#+end_quote
26
26
27
27
本网站使用 [[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
33
28
34
29
#+begin_src bash
35
30
# For macOS
@@ -47,3 +42,11 @@ sudo snap install hugo
47
42
# run server
48
43
hugo server
49
44
#+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
File renamed without changes.
You can’t perform that action at this time.
0 commit comments