getgrav / grav-plugin-sitemap

Grav Sitemap Plugin
https://getgrav.org
MIT License
42 stars 42 forks source link

Ignores - question #5

Closed bdillahu closed 9 years ago

bdillahu commented 9 years ago

I'm unclear how the ignores works... I have some folders of content named _09.defunct_pages - non-routable. Sitemap still includes it, so I have tried

ignores:

and other combinations to no avail...

Ideas?

Thanks!

rhukster commented 9 years ago

you have to put the route, so that's the part that you see in your browser when you go to the page. So if your URL is http://yoursite.com/some/path/to/page then the route would be /some/path/to/page

bdillahu commented 9 years ago

Sorry, haven't been able to get back to this piece of the project for a bit.

It does work as you say (obviously), but I'll point out that (maybe expected) it apparently doesn't take wildcards or suppress the entire "tree" if you have nested pages.

I have (all directories):

This works great:

ignores:

These don't seem to (trying to ignore the entire branch of the tree:

ignores:

Thanks!

karfau commented 7 years ago

@bdillahu in case you have not seen it: this is supported now but the wildcard need to be .*.

bdillahu commented 7 years ago

Thanks for the head's up :-)

-- Bruce Dillahunty http://brucedillahunty.xyz

On Jun 1, 2017, at 07:12, Christian Bewernitz notifications@github.com wrote:

@bdillahu https://github.com/bdillahu in case you have not seen it: this is supported now but the wildcard need to be .*.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/getgrav/grav-plugin-sitemap/issues/5#issuecomment-305463316, or mute the thread https://github.com/notifications/unsubscribe-auth/AB9pRvAbVGia1S3h35Tt_xY6bFDEAIAOks5r_pyXgaJpZM4E-y4S.