Hiding a page


We have a site which we brand using site variables in different site.yaml files. However, certain brands should not publish certain pages.

I have tried to set the published flag in the page frontmatter dynamically using twig but it seems that this is not supported? Can I do this?

Can I do anything with page collections or taxonomies?

What other options are there for doing this?

Thanks for your help


This was answered https://github.com/getgrav/grav/issues/1494