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

Modular page content chunks

Started by Muut Archive 12 years ago · 20 replies · 981 views
12 years ago

WOW - that is fantastic! I was able to get it working as well by including the underscore (I read elsewhere not to when referencing a page).

I also had to create a default.html.twig file under "templates/modular" with the following:

TWIG
    {{ content }}
</div>

It is now working exactly as I hoped, thanks for all your help and please give me a heads-up if I should to tweak the contents of the above default.html.twig file.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2602 9 years ago
Archive · by Muut Archive, 9 years ago
2 1711 9 years ago
Archive · by Muut Archive, 9 years ago
2 5005 9 years ago
Archive · by Muut Archive, 9 years ago
1 3836 9 years ago
Archive · by Muut Archive, 9 years ago
3 1818 9 years ago