-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
With this in site configuration:
[[cascade]]
[cascade._build]
render = "never"
list = "never"
publishResources = false
[cascade._target]
path = '/hidden/**'
The taxonomies map unexpectedly contains:
- Taxonomies that are only used in the "hidden" section
- Terms that are only used in the "hidden" section
- Weighted pages from the "hidden" section
This results in unexpected entries in:
- Taxonomy pages
- Term pages
- RSS feeds
- Sitemap
Example:
git clone --single-branch -b hugo-github-issue-10694 https://github.com/jmooring/hugo-testing hugo-github-issue-10694
cd hugo-github-issue-10694
hugo && grep -ri hidden public/*
Workaround:
[[module.mounts]]
source = 'content'
target = 'content'
excludeFiles = '/hidden/**.*'