This is not a standalone theme. This is a Hugo theme component or module.
You need to install the latest version of Go from https://go.dev/doc/install because this theme component requires ~hugo mod ..~ commands to work.
This update on switch to using Hugo Modules was last tested with Hugo v0.92.0.
Add this to your site’s TOML config file:
[module]
[[module.imports]]
path = "github.com/kaushalmodi/hugo-debugprint"
Run the below command from your Hugo site’s directory:
hugo mod get -u
- Clone this repo to
your-site/themes/hugo-debugprint
directory. - Add “hugo-debugprint” as the left-most element of the
theme
list variable in your site’s or theme’sconfig.toml
. Example:theme = ["hugo-debugprint", "my-theme"]