diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-22 20:22:33 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-08-22 20:22:33 +0200 |
commit | d0a3d51dcda1f4c0509f9e083e3d02c81d23776a (patch) | |
tree | a16a7595a24d6c116187e392a7dbcff3e440c35b /testing/templates/macro.html | |
parent | 26a000cd9e6ab48325fbd4990bf2a3d9e2100a67 (diff) | |
download | askama-d0a3d51dcda1f4c0509f9e083e3d02c81d23776a.tar.gz askama-d0a3d51dcda1f4c0509f9e083e3d02c81d23776a.tar.bz2 askama-d0a3d51dcda1f4c0509f9e083e3d02c81d23776a.zip |
Add test for basic macro use
Diffstat (limited to 'testing/templates/macro.html')
-rw-r--r-- | testing/templates/macro.html | 5 |
1 files changed, 5 insertions, 0 deletions
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) %} |