Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Modular page content chunks

Started by Muut Archive 12 years ago · 20 replies · 904 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 2273 9 years ago
Archive · by Muut Archive, 9 years ago
2 1495 9 years ago
Archive · by Muut Archive, 9 years ago
2 4742 9 years ago
Archive · by Muut Archive, 9 years ago
1 3552 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago