aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/import.html
diff options
context:
space:
mode:
authorLibravatar larros <larserik.rosengren@gmail.com>2017-09-26 10:02:44 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-09-26 10:02:44 +0200
commitdf58dcb49db77b2c283db3c9a8a738bdff3a8e37 (patch)
tree0de4a117d1e97216381b8336a1cec826e894d075 /testing/templates/import.html
parent4e919e47539b5fa346f1cac323ab250558b834bc (diff)
downloadaskama-df58dcb49db77b2c283db3c9a8a738bdff3a8e37.tar.gz
askama-df58dcb49db77b2c283db3c9a8a738bdff3a8e37.tar.bz2
askama-df58dcb49db77b2c283db3c9a8a738bdff3a8e37.zip
Add support for importing template files with macros (#51)
* Fix review comments for macro imports
Diffstat (limited to 'testing/templates/import.html')
-rw-r--r--testing/templates/import.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/templates/import.html b/testing/templates/import.html
new file mode 100644
index 0000000..87d7969
--- /dev/null
+++ b/testing/templates/import.html
@@ -0,0 +1,2 @@
+{% import "macro.html" -%}
+{%- call thrice(s) %}