We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hugo version
$ hugo version hugo v0.115.1+extended darwin/arm64
Yes
Hugo 0.110.0 changed the default config base filename to hugo, e.g. hugo.toml. However, hugo mod does not seem to pick up the new filename.
hugo mod
hugo mod copies the file hugo.toml to the local module cache / vendor directory, similar to config.toml.
hugo.toml
config.toml
A test site has been set up that references two modules:
From a local machine, run the following commands (note: tested on macOS, tree installed with brew)
tree
brew
git clone https://github.com/markdumay/hugo-mod-test-site.git cd hugo-mod-test-site hugo hugo mod vendor tree _vendor
The _vendor directory includes a copy of config.toml, but hugo.toml is missing.
_vendor
The text was updated successfully, but these errors were encountered:
Fix hugo mod vendor for modules with hugo.toml
2c7407e
Fixes gohugoio#11221
610794b
77a0179
0f921ac
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
bep
No branches or pull requests
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
Issue description
Hugo 0.110.0 changed the default config base filename to hugo, e.g. hugo.toml. However,
hugo mod
does not seem to pick up the new filename.Expected behavior
hugo mod copies the file
hugo.toml
to the local module cache / vendor directory, similar toconfig.toml
.Steps to reproduce the error
A test site has been set up that references two modules:
config.toml
hugo.toml
From a local machine, run the following commands (note: tested on macOS,
tree
installed withbrew
)git clone https://github.com/markdumay/hugo-mod-test-site.git cd hugo-mod-test-site hugo hugo mod vendor tree _vendor
The
_vendor
directory includes a copy ofconfig.toml
, buthugo.toml
is missing.The text was updated successfully, but these errors were encountered: