Hello! I want to modify a base.html.twig template, so it will have a little difference when rendering modular pages. However, page.modular returns false in base.html.twig template and returns true only in modular block templates, where it should always return true. Is it a bug with page.modular() function?
Archive
page.template == 'modular' works like I want :)
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1362 | 9 years ago | ||
| 2 | 940 | 9 years ago | ||
| 2 | 4069 | 9 years ago | ||
| 1 | 2960 | 9 years ago | ||
| 3 | 1124 | 9 years ago |