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 | 2004 | 9 years ago | ||
| 2 | 1345 | 9 years ago | ||
| 2 | 4556 | 9 years ago | ||
| 1 | 3409 | 9 years ago | ||
| 3 | 1499 | 9 years ago |