Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Hiding a page

Started by Muut Archive 9 years ago · 1 replies · 385 views
9 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 Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago