From d0a3d51dcda1f4c0509f9e083e3d02c81d23776a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 22 Aug 2017 20:22:33 +0200 Subject: Add test for basic macro use --- testing/templates/macro.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testing/templates/macro.html (limited to 'testing/templates/macro.html') diff --git a/testing/templates/macro.html b/testing/templates/macro.html new file mode 100644 index 0000000..d3ab77a --- /dev/null +++ b/testing/templates/macro.html @@ -0,0 +1,5 @@ +{% macro thrice(param) -%} + {{ param }} {{ param }} {{ param }} +{%- endmacro %} + +{%- call thrice(s) %} -- cgit