this is how you use modules
continuous-integration/drone/push Build is failing Details

drafts
Nick Dumas 2 years ago
parent 2ece85266f
commit bc13537b76

@ -3,10 +3,15 @@ languageCode = "en-us"
title = 'form and function'
# Add it only if you keep the theme in the `themes` directory.
# Remove it if you use the theme as a remote Hugo Module.
theme = "terminal"
paginate = 7
enableGitInfo = true
[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'
[params]
# dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).

@ -0,0 +1,5 @@
module blog.ndumas.com
go 1.19
require github.com/panr/hugo-theme-terminal/v3 v3.1.2 // indirect

@ -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=
Loading…
Cancel
Save