getgrav / grav-plugin-sitemap

Grav Sitemap Plugin

Home Page:https://getgrav.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore protected pages does not work

Japhys opened this issue · comments

I enabled this option in plugin config. However all my protected pages are listed in de sitemap.xml. The redirect to login page of course but still I like them not to be in there

pages have this code

access:
site.login: true
admin.login: true
login:
visibility_requires_access: true

Actually they should not be displayed with the latest version if you have ignore_protected: true because any page that has access: will be ignored.