-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
<!-- 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.
Metadata
Metadata
Assignees
Labels
No labels