Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make the "is this a Hugo Module" logic more lenient #6299
Hugo serves the website still.
Hugo fails to serve the website with the following error:
(More commonly, the
We have a project where we maintain the documentation alongside the code. Had we developed the project in any other language than Go, we would have had no issue. But the project is in Go, and therefore we now started to work on supporting Go modules, which required having a
Hugo Static Site Generator v0.57.2/extended darwin/amd64 BuildDate: unknown
I didn't say that, I just gave you a tip for a workaround.
What we cannot currently do is change it to
What we could probably do is to improve the "is this a Hugo Module" logic.
Currently, it is simply: Is there a
We could probably change that to "go.mod + any module imports (e.g. theme imports with module paths)".