aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/deep-import-child.html
diff options
context:
space:
mode:
authorLibravatar bott <mhpoin@gmail.com>2018-09-07 19:28:21 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-09-07 20:09:52 +0200
commit4f2176a3ad2d174c40617c9f3af13b6bd8270b29 (patch)
treef668ac581353be6086b8c95684887b8c1ca56e0c /testing/templates/deep-import-child.html
parent49b0c95f6c60f96ab434efb53a52f1c2e35d1450 (diff)
downloadaskama-4f2176a3ad2d174c40617c9f3af13b6bd8270b29.tar.gz
askama-4f2176a3ad2d174c40617c9f3af13b6bd8270b29.tar.bz2
askama-4f2176a3ad2d174c40617c9f3af13b6bd8270b29.zip
Fix deep nested imports in macro calls
Diffstat (limited to 'testing/templates/deep-import-child.html')
-rw-r--r--testing/templates/deep-import-child.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/templates/deep-import-child.html b/testing/templates/deep-import-child.html
new file mode 100644
index 0000000..268d6d0
--- /dev/null
+++ b/testing/templates/deep-import-child.html
@@ -0,0 +1,4 @@
+{%- import "nested-macro.html" as libi -%}
+{%- macro parent() -%}
+ {% call libi::parent() %}
+{%- endmacro -%}