grav-plugin-directorylisting icon indicating copy to clipboard operation
grav-plugin-directorylisting copied to clipboard

Exclude Non-Visible Pages

Open petira opened this issue 3 years ago • 0 comments

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.

petira avatar Jun 15 '21 07:06 petira