Open marmz opened 3 months ago
<!-- test.twig --> {% extends "rocks.twig" %} 100% <!-- rocks.twig --> {{ name}} rocks! <!-- index.html --> <script> const template = twig({ href: 'test.twig', async: false }); alert( template.render({name: 'Dario'}) ); </script> <!-- result alert message --> Dario rocks! <!-- instead of --> Dario rocks! 100%
So it seems that extending template is ignoring its own code after "extends" directive.
@marmz have you confirmed that this works as expected in TwigPHP?
So it seems that extending template is ignoring its own code after "extends" directive.