You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: The source directory of the mount. For the main project, this can be either project-relative or absolute and even a symbolic link. For other modules it must be project-relative.
What version of Hugo are you using (
hugo version
)?Hugo Static Site Generator v0.61.0-9B445B9D windows/amd64 BuildDate: 2019-12-11T08:29:13Z
Does this issue reproduce with the latest release? ✔️
When trying to use an absolute path in a mount for the main project, e.g.
The mount is not getting set and the output of
hugo config mounts
is:However according to the documentation it should be supported:
hugo/docs/content/en/hugo-modules/configuration.md
Line 125 in 7935504
The issue seems to be around here:
hugo/modules/collect.go
Line 566 in 14a1de1
As the project directory is always joined with the mount source.
When changing the logic to:
Then the output of
hugo config mounts
is correct:I'm sure this isn't the solution, but I hope it can illustrate the issue 😄
The text was updated successfully, but these errors were encountered: