Skip to content
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

Allow overlap in module mounts #6146

Closed
bep opened this issue Jul 30, 2019 · 0 comments

Comments

@bep
Copy link
Member

commented Jul 30, 2019

While testing this I have found the current implementation a little limiting. I think even some of the examples I have written would not work.

Currently, the following works fine:

[module]

  [[module.mounts]]
    source = "a"
    target = "content/blog"

  [[module.mounts]]
    source = "b"
    target = "content/docs"

In this example, the content/blog would be masked by the content mount and would be ineffective.

[module]

  [[module.mounts]]
    source = "a"
    target = "content/blog"

  [[module.mounts]]
    source = "b"
    target = "content"

The above is obviously not perfect and needs to be fixed.

@bep bep changed the title Allow one level of overlap in module mounts Allow overlap in module mounts Jul 30, 2019

@bep bep added the Enhancement label Jul 30, 2019

@bep bep self-assigned this Jul 30, 2019

@bep bep added this to the v0.56.3 milestone Jul 30, 2019

bep added a commit to bep/hugo that referenced this issue Jul 30, 2019

bep added a commit to bep/hugo that referenced this issue Jul 30, 2019

bep added a commit to bep/hugo that referenced this issue Jul 30, 2019

bep added a commit to bep/hugo that referenced this issue Jul 30, 2019

@bep bep closed this in edf9f0a Jul 31, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.