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

Remove elements from base.html.twig

Started by Muut Archive 10 years ago · 2 replies · 407 views
10 years ago

Is there a way to replace/remove blocks from base.html.twig when using modular pages? For example, remove navigation partial from base.html.twig and include it inside specific modular page. I would like to make different homepage with couple of modular parts and put navigation in different position, than in other pages.

10 years ago

Ok, can I override it inside modular part, not just in modular.html.twig? For example if I have _jumbotron starting the modular home page, I would like to put it inside jumbotron.html.twig.

!Update -> it actually works! Great!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1355 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago