Ray Kootstra Ray Kootstra - 2 years ago
1237 0

Example how to include a sub twig template and passing objects to the sub template.


Twig include twig sub template with variables

{% include '@Example/Templates/sub-layout.html.twig' with { ObjectNameInSubTemplate : ObjectNameInHeadTemplate } %}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download