📝 Docs: add command to update theme to dev

This commit is contained in:
Cell
2022-10-01 13:45:49 +08:00
parent 12cd2847f0
commit a0eca23c10
3 changed files with 9 additions and 1 deletions
+4
View File
@@ -35,7 +35,11 @@ If you are currently using the LoveIt theme (or some other themes), it is very e
You can add this repo as a submodule of your site directory.
```bash
# Stable version
git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt
# ⚠️ Dev version
git submodule add -b dev https://github.com/hugo-fixit/FixIt.git themes/FixIt
```
Next, go to the `config.toml` and change the default theme to `FixIt`.
+4
View File
@@ -37,7 +37,11 @@ hugo server --source=docs
你可以将这个主题仓库添加为你的网站目录的子模块。
```bash
# 稳定版
git submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt
# ⚠️ 开发版
git submodule add -b dev https://github.com/hugo-fixit/FixIt.git themes/FixIt
```
接着,前往 `config.toml` 并将默认主题更改为 `FixIt`
+1 -1
Submodule docs updated: 77184aeb0f...bfdc311fbd