Allow pageTypeWhitelist to exclude adding to sitemap for all page types except #512
Description
MetaSEO version: 3.0.0
TYPO3 version: 8.7.0
PHP version: 7.1.0
Currently there is setting plugin.metaseo.sitemap.index.pageTypeBlacklist
that allows to build comma separated list of all page types that I do not want to be included in sitemap.
This works well but unfortunately it is very hard to keep it up to date because after installing new extension (or even after updating some existing) I must check if extensions provides some new page types which I should add to pageTypeBlacklist :(
This is why its much more convenient to have setting like plugin.metaseo.sitemap.index.pageTypeWhitelist
.
For almost 99% of my cases I would have it only one value
plugin.metaseo.sitemap.index.pageTypeWhitelist = 0
And I will not have to remember to update 'pageTypeBlacklist' after installing/updating extensions.
Please let me know if you agree with that - if yes I can prepare PR then.
Thank you!