Hi developers and less divine people like me,
quick Sunday question: When is a Hugo Module a Hugo Module?
- when it has a
go.mod
in it’s root directory. - when it has a
go.mod
in it’s root directory AND amodule
section in it’s configuration - when it has a
module
section in it’s configuration
Multiple answers are possible.
I don’t know it, the documentation does not seem too clear on it, but I would choose 1 and 2 with the requirement of having at least a go.mod
with module modulename
and go version in it.