diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index c87d919..3906406 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -1,9 +1,5 @@ # your website url baseURL = 'https://www.example.com/' -# path to theme directory -themesdir = '../..' -# theme name -theme = 'Bridget' # website title title = 'Bridget' # don't touch this @@ -21,3 +17,12 @@ enableRobotsTXT = true # * ja (powered by Noto Sans JP) # * ko (powered by Noto Sans KR) defaultContentLanguage = 'en' + +# theme as local file +# themesdir = "../.." +# theme = "bridget" + +# theme as module +[module] +[[module.imports]] +path = "github.com/Sped0n/bridget" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a469fad --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/Sped0n/bridget + +go 1.20