Category : include

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″> {% block stylesheets %}{% endblock %} </head> <body> {% block body %}{% endblock %} {{ encore_entry_script_tags(‘js/app’) ..

Read more