Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Hiding a page

Started by Muut Archive 10 years ago · 1 replies · 633 views
10 years ago

Hi,

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

Andy

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago