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

Modular page content chunks

Started by Muut Archive 11 years ago · 20 replies · 681 views
11 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 1321 9 years ago
Archive · by Muut Archive, 9 years ago
2 916 9 years ago
Archive · by Muut Archive, 9 years ago
2 4047 9 years ago
Archive · by Muut Archive, 9 years ago
1 2921 9 years ago
Archive · by Muut Archive, 9 years ago
3 1105 9 years ago