Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoThemesSite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-10-14 18:15:56 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-10-14 18:15:56 +0300
commit0088da51fbf3a07e2745e2d65303b6b936b77dc1 (patch)
treee471bc4763dd1a55f661262078722733f8a2b23e
parentd5fa8c6fa384e5ce8dcd06f55b1dc37d7439775b (diff)
Add the theme as a Hugo Module
-rw-r--r--config.toml7
-rw-r--r--go.mod5
-rw-r--r--go.sum2
3 files changed, 13 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index 2d703e5..d1d9758 100644
--- a/config.toml
+++ b/config.toml
@@ -2,10 +2,15 @@ baseurl = "https://themes.gohugo.io"
languageCode = "en-us"
title = "Hugo Themes"
googleAnalytics = "UA-7131036-4"
-theme = "gohugoioTheme"
disableKinds = ["taxonomyTerm"]
+[module]
+ [module.hugoVersion]
+ min = "0.56.0"
+ [[module.imports]]
+ path = "github.com/gohugoio/gohugoioTheme"
+
[blackfriday]
plainIdAnchors=true
config = "config-tpl-base.toml"
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..823ffa2
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module github.com/gohugoio/hugoThemesSite
+
+go 1.13
+
+require github.com/gohugoio/gohugoioTheme v0.0.0-20191014144142-1f3a01deed7b // indirect
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..85a0988
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,2 @@
+github.com/gohugoio/gohugoioTheme v0.0.0-20191014144142-1f3a01deed7b h1:PWNjl46fvtz54PKO0BdiXOF6/4L/uCP0F3gtcCxGrJs=
+github.com/gohugoio/gohugoioTheme v0.0.0-20191014144142-1f3a01deed7b/go.mod h1:kpw3SS48xZvLQGEXKu8u5XHgXkPvL8DX3oGa07+z8Bs=