aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/nested-macro.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates/nested-macro.html')
-rw-r--r--testing/templates/nested-macro.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/templates/nested-macro.html b/testing/templates/nested-macro.html
new file mode 100644
index 0000000..4a40cd9
--- /dev/null
+++ b/testing/templates/nested-macro.html
@@ -0,0 +1,7 @@
+{%- macro child() -%}
+ foo
+{%- endmacro -%}
+
+{%- macro parent() -%}
+ {% call child() %}
+{%- endmacro -%}