Category: include

Twig : Included template extends parent Javascript bloc?

I am coding a project on Symfony, and for a page I need to split into several templates that I include in the main template. Imagine this configuration: base.html.twig <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> {%…