mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
📝 Docs: add command to update theme to dev
This commit is contained in:
@@ -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`.
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user