diff --git a/README.md b/README.md index a0b93698..98bf7258 100644 --- a/README.md +++ b/README.md @@ -37,18 +37,6 @@ You can add this repo as a submodule of your site directory. git submodule add https://github.com/Lruihao/FixIt.git themes/FixIt ``` -And later you can update the submodule in your site directory to the latest commit using this command: - -```bash -git submodule update --remote --merge -``` - -Or use shell command `fixit_checker.sh` to update and commit in the theme directory. - -```bash -sh fixit_checker.sh -``` - Next, go to the `config.toml` and change the default theme to `FixIt`. ```diff @@ -58,6 +46,20 @@ Next, go to the `config.toml` and change the default theme to `FixIt`. Now the migration is finished and everything is ready 🎉 +--- + +And later you can update the submodule in your site directory to the latest commit using this command: + +```bash +git submodule update --remote --merge +``` + +Or this shell command: + +```bash +cd themes/FixIt && sh fixit_checker.sh +``` + ## Why choose FixIt The FixIt theme inherits the excellent features of themes such as LoveIt, and adds new features and optimizations on those basis, as detailed in [Features](#features). In addition, the FixIt theme has the following advantages: diff --git a/README.zh-cn.md b/README.zh-cn.md index 20bbf727..f8b97ad0 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -37,18 +37,6 @@ hugo server --source=exampleSite git submodule add https://github.com/Lruihao/FixIt.git themes/FixIt ``` -之后,你可以在站点目录通过这条命令来将主题更新至最新版本: - -```bash -git submodule update --remote --merge -``` - -或者在主题目录中使用 shell 命令 `fixit_checker.sh` 将主题更新至最新版本: - -```bash -sh fixit_checker.sh -``` - 接着,前往 `config.toml` 并将默认主题更改为 `FixIt`。 ```diff @@ -58,6 +46,20 @@ sh fixit_checker.sh 这样就完成了迁移工作,现在一切准备就绪 🎉 +--- + +之后,你可以在站点目录通过这条命令来将主题更新至最新版本: + +```bash +git submodule update --remote --merge +``` + +或者这条 shell 命令: + +```bash +cd themes/FixIt && sh fixit_checker.sh +``` + ## 为什么选择 FixIt FixIt 主题继承了 LoveIt 等主题的优秀功能,并在它们的基础上添加了新的功能与优化,详见 [特性](#特性)。除此之外,FixIt 主题还有以下优点: