From 40045721cccb99b7d2b65ef6572f7739df1c140e Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Mon, 22 May 2023 22:22:23 -0400 Subject: [PATCH] getting closer to a proper build --- config.toml | 7 +++++++ go.mod | 5 +++++ go.sum | 2 ++ 3 files changed, 14 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/config.toml b/config.toml index b554399..71f639c 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,10 @@ baseURL = 'https://hugo-demo.ndumas.com' languageCode = 'en-us' title = 'Hugo Playground' + +[module] + # this is needed when you fetch the theme as a submodule to your repo. + # replacements = "github.com/panr/hugo-theme-terminal -> themes/terminal" +[[module.imports]] + path = 'github.com/panr/hugo-theme-terminal/v3' + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..e8c259d --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module code.ndumas.com/ndumas/hugo-demo + +go 1.19 + +require github.com/panr/hugo-theme-terminal/v3 v3.1.2 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c8e1900 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/panr/hugo-theme-terminal/v3 v3.1.2 h1:DZXzAabj8zG/9k6kSE9uQLtJUoPGA5KiSeiBbni3oHM= +github.com/panr/hugo-theme-terminal/v3 v3.1.2/go.mod h1:Cs+1ub6qhz/G43ohdRSR1U2qNqGLO9h0qgTG4Jq9Wo4=