diff --git a/doc/getStarted.md b/doc/getStarted.md index c8db8fc..29ce9e9 100644 --- a/doc/getStarted.md +++ b/doc/getStarted.md @@ -60,7 +60,7 @@ Then import the theme as a dependency adding the following line to the `module` # config/_default/hugo.toml [module] [[module.imports]] -path = "github.com/Sped0n/bridget" +path = "github.com/Sped0n/bridget/v2" ``` If you want to upgrade the theme, just run: @@ -162,9 +162,9 @@ We will focus on introducing the part about `theme as module`, detailed comments ```toml # theme as module [module] -replacements = "github.com/Sped0n/bridget -> ../.." +replacements = "github.com/Sped0n/bridget/v2 -> ../.." [[module.imports]] -path = "github.com/Sped0n/bridget" +path = "github.com/Sped0n/bridget/v2" ``` - If you have _installation with Git_ diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index e21531f..f766ca2 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -22,6 +22,6 @@ defaultContentLanguage = 'en' # theme as module [module] -replacements = "github.com/Sped0n/bridget -> ../.." # deploy with local dir WARN: delete this line if you want to deploy with git +replacements = "github.com/Sped0n/bridget/v2 -> ../.." # deploy with local dir WARN: delete this line if you want to deploy with git [[module.imports]] -path = "github.com/Sped0n/bridget" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!! +path = "github.com/Sped0n/bridget/v2" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!!