-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
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
Issue with overlapping file mounts #7123
Comments
Note that is is about multiple, e.g. layouts mount in the same module -- not multiple modules (which I use all the time). |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help. |
I can vouch for having this issue, especially with a multi-lingual site. When making multiple mounts from, say, the local (project) module, the behavior of the union file system is non-deterministic - e.g., sometimes I get files from the first mount, sometimes I get files from the second mount, etc. This is especially relevant in a multi-lingual site where the content directories are mounted from the local project space, and there is module path overlap. I'm happy to provide further specifics of what I see if it's helpful, but sounds like it's already a known issue |
@shauntarves, |
Hi @moorereason , Maybe I am just generally having issues understanding how the union virtual filesystem works. If I have the following content directory:
And then I import a module which attempts to override the banana.png with its own version, does that work? I've tried all kinds of import mount configurations, but it just doesn't seem to take. For example:
Any thoughts? |
@bep Any chance you can help on this? |
I'm not sure what, but I see some odd behaviour when using it. Need to look into it.
The text was updated successfully, but these errors were encountered: