The following should stop the page content/intro.md from being published and getting an url, yet it doesn’t:
[[module.mounts]]
source = "content/intro.md"
target = "content/_index.md"
[[cascade]]
[cascade._build]
render = 'never'
list = 'never'
[cascade._target]
path = '/intro'
What am I missing ?
I answered this question for you last week. My answer hasn’t changed; works with v0.123.0 and later.
No.
For some reason the change hasn’t stuck. repo. But you’re free to ignore peasants who can’t configure SSH to pass on a bloody folder, now that password authentification has been shafted.
You can see your lines are identical:
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "content/intro.md"
target = "content/_index.md"
[[cascade]]
[cascade.build]
list = 'never'
render = 'never'
[cascade._target]
path = '/intro'
[[cascade]]
[cascade.build]
list = 'never'
render = 'never'
[cascade._target]
path = '/docs/**'
kind = 'section'
Problem solved with version 0.123.8, no more unwanted /intro.html. Maybe due to that:
- Fix section page resource not published if resource filename partially matches content file name 4271b6b @bep #12198