Hello,
I followed multiple tutorials in order to setup a theme as a module.
Minimum example:
$ hugo new site mysite
$ hugo mod init mysite
$ mkdir -p config/_default
# config/_default/module.toml
[hugoVersion]
extended = true
min = "0.124.1"
[[imports]]
path = "github.com/yihui/hugo-xmin"
disable = false
# hugo.toml
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = ['hugo-xmin']
$ hugo mod get
Error: failed to load modules: module "hugo-xmin" not found in "/mnt/d/prog/my_blog/mysite/themes/hugo-xmin"; either add it as a Hugo Module or store it in "/mnt/d/prog/my_blog/mysite/themes".: module does not exist
I could not resolve this issue unfortunately and could also not find a single tutorial that explains this. Thank you in advance.