diff options
Diffstat (limited to 'testing/templates/macro.html')
-rw-r--r-- | testing/templates/macro.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/testing/templates/macro.html b/testing/templates/macro.html index d3ab77a..30ea742 100644 --- a/testing/templates/macro.html +++ b/testing/templates/macro.html @@ -1,5 +1,13 @@ -{% macro thrice(param) -%} - {{ param }} {{ param }} {{ param }} -{%- endmacro %} +1 -{%- call thrice(s) %} +{%- macro thrice(param) -%} + +{{ param }} {{ param }} {{ param }} + +{%- endmacro -%} + +2 + +{%- call thrice(s) -%} + +3 |