-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Hey Folks,
I've been trying to exclude paths from our sitemap using this plugin. I'm trying to have these subfolders not show up on the sitemap:
- /research/briefs
- /research/notes
- /research/
Here are examples of paths I've tried with no luck:
Test 1 (didn't work):
[[plugins]]
package = "@netlify/plugin-sitemap"
[plugins.inputs]
buildDir = "public"
exclude = [
# By Glob pattern
'./research//',
'./research/briefs/'
'./research/notes/'
]
Test 2 (didn't work):
[[plugins]]
package = "@netlify/plugin-sitemap"
[plugins.inputs]
buildDir = "public"
exclude = [
# By Glob pattern
'./public/research//',
'./public/research/briefs/'
'./public/research/notes/'
]
Test 3
exclude = [
# By Glob pattern
'//briefs/',
'//notes/',
'/research//**',
]
Any thoughts on how I can get this to work?