Fix mod install instruction to get v2 version of the theme.
This commit is contained in:
parent
94d7d6f520
commit
5452538a5d
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ Afterwards, declare the `zen` theme module as a dependency of your site:
|
||||||
From the root of your site:
|
From the root of your site:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
hugo mod get github.com/frjo/hugo-theme-zen
|
hugo mod get -u github.com/frjo/hugo-theme-zen/v2
|
||||||
```
|
```
|
||||||
|
|
||||||
### Git submodule
|
### Git submodule
|
||||||
|
|
@ -112,7 +112,7 @@ From the root of your site:
|
||||||
git clone https://github.com/frjo/hugo-theme-zen.git themes/zen
|
git clone https://github.com/frjo/hugo-theme-zen.git themes/zen
|
||||||
```
|
```
|
||||||
|
|
||||||
If you use git to version control your site, highly recommended, it's best to add the zen theme as a submodule.
|
If you use git to version control your site you can add the zen theme as a submodule.
|
||||||
|
|
||||||
From the root of your site:
|
From the root of your site:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue