aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/macro-no-args.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/templates/macro-no-args.html')
-rw-r--r--testing/templates/macro-no-args.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/templates/macro-no-args.html b/testing/templates/macro-no-args.html
new file mode 100644
index 0000000..b70ee8c
--- /dev/null
+++ b/testing/templates/macro-no-args.html
@@ -0,0 +1,21 @@
+1
+
+{%- macro empty -%}
+the best thing
+{%- endmacro -%}
+
+1
+
+{%- call empty() -%}
+
+1
+
+{%- macro whole() -%}
+we've ever done
+{%- endmacro -%}
+
+11
+
+{%- call whole -%}
+
+11