Update README.md

This commit is contained in:
Radek Kozieł 2023-01-04 08:50:14 +01:00 committed by GitHub
parent 985bed75ff
commit 1f676558df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/).