forked from mirrors/hugo-theme-terminal
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
7fa36fe0ee | |||
1f676558df | |||
893ded398f |
@ -99,7 +99,7 @@ You can also choose **one of the 3 possibilities** to install the theme:
|
|||||||
# you fetch the theme module.
|
# you fetch the theme module.
|
||||||
#
|
#
|
||||||
# hugo mod init [your website/module name]
|
# hugo mod init [your website/module name]
|
||||||
hugo mod get github.com/panr/hugo-theme-terminal
|
hugo mod get github.com/panr/hugo-theme-terminal/v3
|
||||||
```
|
```
|
||||||
|
|
||||||
and in your config file add:
|
and in your config file add:
|
||||||
@ -109,7 +109,7 @@ and in your config file add:
|
|||||||
# this is needed when you fetch the theme as a submodule to your repo.
|
# this is needed when you fetch the theme as a submodule to your repo.
|
||||||
# replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal"
|
# replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = 'github.com/panr/hugo-theme-terminal'
|
path = 'github.com/panr/hugo-theme-terminal/v3'
|
||||||
```
|
```
|
||||||
|
|
||||||
Keep in mind that the theme by default won't show up in the `themes` directory. This means that you are using the theme as it was on the repository at the moment you fetched it. Your local `go.sum` file keeps all the references. Read more about Hugo Modules in the [official documentation](https://gohugo.io/hugo-modules/).
|
Keep in mind that the theme by default won't show up in the `themes` directory. This means that you are using the theme as it was on the repository at the moment you fetched it. Your local `go.sum` file keeps all the references. Read more about Hugo Modules in the [official documentation](https://gohugo.io/hugo-modules/).
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
[module]
|
||||||
|
[module.hugoVersion]
|
||||||
|
extended = true
|
||||||
|
min = '0.90.0'
|
||||||
|
Reference in New Issue
Block a user