Skip to content
Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Inculde partial in page

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

Hello,

I would like to include a partial in a specific page. Is there a page header for this task or how can I do this?

10 years ago

you could set up a toggle in in your specific blueprint which says something like "include partial" and if this toggle is active display the partial in your template twig file with an if statement

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2298 9 years ago
Archive · by Muut Archive, 9 years ago
2 1509 9 years ago
Archive · by Muut Archive, 9 years ago
2 4765 9 years ago
Archive · by Muut Archive, 9 years ago
1 3580 9 years ago
Archive · by Muut Archive, 9 years ago
3 1635 9 years ago