fix: githab repo url

This commit is contained in:
Mirus 2024-07-30 15:34:13 +03:00
parent df1265c193
commit 22dc46fb81
2 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ You can also choose **one of the 3 possibilities** to install the theme:
# you fetch the theme module.
#
# hugo mod init [your website/module name]
hugo mod get github.com/mirus-ua/hugo-theme-re-terminal/v1
hugo mod get github.com/mirus-ua/hugo-theme-re-terminal
```
and in your config file add:
@ -129,7 +129,7 @@ and in your config file add:
# this is needed when you fetch the theme as a submodule to your repo.
# replacements = "github.com/mirus-ua/hugo-theme-re-terminal -> themes/re-terminal"
[[module.imports]]
path = 'github.com/mirus-ua/hugo-theme-re-terminal/v1'
path = 'github.com/mirus-ua/hugo-theme-re-terminal'
```
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/).

2
go.mod
View File

@ -1,3 +1,3 @@
module github.com/mirus-ua/hugo-theme-re-terminal/v1
module github.com/mirus-ua/hugo-theme-re-terminal
go 1.22