diff options
author | Sam Robbins <samrobbinsgb@gmail.com> | 2020-08-13 12:21:47 +0300 |
---|---|---|
committer | Sam Robbins <samrobbinsgb@gmail.com> | 2020-08-13 12:21:47 +0300 |
commit | 11fca0f521276162640fd29c2601e9d98cd4e384 (patch) | |
tree | f5abf3af4b1455f20ca749352cb9a0566c09d86b | |
parent | 50d64488a85da930d5c7bca564c0e2801f7c48a3 (diff) |
Try module for theme
-rw-r--r-- | exampleSite/config.toml | 9 | ||||
-rw-r--r-- | exampleSite/go.mod | 5 | ||||
-rw-r--r-- | exampleSite/go.sum | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 814cc2a..ed308b6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,12 +2,15 @@ baseURL = "https://example.com" languageCode = "en-gb" title = "Sam Robbins" -theme = "hugo-developer-portfolio" +# theme = "hugo-developer-portfolio" googleAnalytics = "" # Remove this when using normally -themesDir = "../../" - +# themesDir = "../../" +# ` +[module] + [[module.imports]] + path = "github.com/samrobbins85/hugo-developer-portfolio" # Plugins [params.plugins] diff --git a/exampleSite/go.mod b/exampleSite/go.mod new file mode 100644 index 0000000..47e61cf --- /dev/null +++ b/exampleSite/go.mod @@ -0,0 +1,5 @@ +module example + +go 1.14 + +require github.com/samrobbins85/hugo-developer-portfolio v0.0.0-20200813081133-50d64488a85d // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum new file mode 100644 index 0000000..5ff47ef --- /dev/null +++ b/exampleSite/go.sum @@ -0,0 +1,2 @@ +github.com/samrobbins85/hugo-developer-portfolio v0.0.0-20200813081133-50d64488a85d h1:zAIWl622IPSXryfD/vpHcUHuwneGX+qtaKem8krWU4A= +github.com/samrobbins85/hugo-developer-portfolio v0.0.0-20200813081133-50d64488a85d/go.mod h1:k8pYFLOf99+RFAdeKwBJGfgN2jyoX2bBv8j2MUaiqdo= |