aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/templates/nested-macro.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/templates/nested-macro.html b/testing/templates/nested-macro.html
index 4a40cd9..5030d59 100644
--- a/testing/templates/nested-macro.html
+++ b/testing/templates/nested-macro.html
@@ -1,7 +1,11 @@
-{%- macro child() -%}
+{%- macro child0() -%}
foo
{%- endmacro -%}
+{%- macro child1() -%}
+ {% call child0() %}
+{%- endmacro -%}
+
{%- macro parent() -%}
- {% call child() %}
+ {% call child1() %}
{%- endmacro -%}