You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article refers to the traditional installation method of cloning the theme locally as Git submodule. While this installation method is still widely used, we recommend to install the theme as Hugo module. 从头开始创建站点# 1$ git clone https://github.com/razonyang/hugo-theme-bootstrap-skeleton myblog 2$ cd myblog 3$ git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap 4$ sed -i "s/theme:.*/theme: hugo-theme-bootstrap/g" config/_default/config.yaml 5$ rm go.mod go.sum 6$ hugo mod npm
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v1/zh-hans/docs/getting-started/installation/git-submodule/
This article refers to the traditional installation method of cloning the theme locally as Git submodule. While this installation method is still widely used, we recommend to install the theme as Hugo module. 从头开始创建站点# 1$ git clone https://github.com/razonyang/hugo-theme-bootstrap-skeleton myblog 2$ cd myblog 3$ git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap 4$ sed -i "s/theme:.*/theme: hugo-theme-bootstrap/g" config/_default/config.yaml 5$ rm go.mod go.sum 6$ hugo mod npm
https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/git-submodule/
Beta Was this translation helpful? Give feedback.
All reactions