I'm not sure I've ever tried. Did you try it?
Yes, I try
if I understand correctly:
I have identical modular.html.twig for 01.home and 02.offer/01.books
{% for module in page.collection() %}
{{ module.content }}
{% endfor %}
01.home is Ok, but 02.offer/01.books don't display
Hmmm, I think everything works
Always remember:
bin/grav clear-cache
Especially with modular pages, clearing cache is important :) I usually turn off cache during development stages.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 2280 | 9 years ago | ||
| 2 | 1496 | 9 years ago | ||
| 2 | 4745 | 9 years ago | ||
| 1 | 3557 | 9 years ago | ||
| 3 | 1621 | 9 years ago |