From 22dc46fb81dba3e5fb531e0ac68f4564e816cf79 Mon Sep 17 00:00:00 2001 From: Mirus Date: Tue, 30 Jul 2024 15:34:13 +0300 Subject: [PATCH] fix: githab repo url --- README.md | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index db82dba..374245f 100644 --- a/README.md +++ b/README.md @@ -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/). diff --git a/go.mod b/go.mod index ff53b83..1bf6957 100644 --- a/go.mod +++ b/go.mod @@ -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