aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates')
-rw-r--r--testing/templates/macro-self-arg.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/templates/macro-self-arg.html b/testing/templates/macro-self-arg.html
new file mode 100644
index 0000000..c7c6d5b
--- /dev/null
+++ b/testing/templates/macro-self-arg.html
@@ -0,0 +1,5 @@
+{%- macro my_s(slf) -%}
+ {{ slf.s }}
+{%- endmacro -%}
+
+{%- call my_s(self) -%}