Unlisted pages concept
We have this concept to allow having pages filtered out of menus and blogs for example.
All unlisted pages can be added to /u/ Unlisted folder in Storyblok.
You can easily remove these pages by using an ignoreRegex array and checking if slug is ignored by it:
_10import { isSlugIgnored } from '@/lib/storyblok/storyblok-pages';_10_10isSlugIgnored(slug ?? '')_10// if you have a custom array of filters you can pass it as second argument_10isSlugIgnored(slug ?? '', [/u\//])