grav-plugin-directorylisting
grav-plugin-directorylisting copied to clipboard
Exclude Non-Visible Pages
Hi @OleVik!
In connection with the previous proposal for enhancement https://github.com/OleVik/grav-plugin-directorylisting/issues/17 (creating a structure starting in the default route, especially when creating the sitemap), it would be good to exclude non-visible
pages, similar as in the main menu. The reason is to leave only the main structure, without item
type and, of course, the pages that are visible in the main menu.
For example:
exclude_non_visible: true
# Default is true
. If true
, only visible
pages will be displayed.