From 5ee2dfbe6bf901c7c731e9b94ba92b82f09e9101 Mon Sep 17 00:00:00 2001 From: max Date: Thu, 12 Oct 2023 14:47:49 +0300 Subject: Add test for macro self argument Signed-off-by: max --- testing/templates/macro-self-arg.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testing/templates/macro-self-arg.html (limited to 'testing/templates/macro-self-arg.html') 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) -%} -- cgit