From 549d0ec3c6799eb31517b093faa7c85752ba7d8c Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 4 Aug 2017 13:19:31 +0200 Subject: Add test for include blocks (see #25) --- testing/templates/include.html | 3 +++ testing/templates/included.html | 1 + 2 files changed, 4 insertions(+) create mode 100644 testing/templates/include.html create mode 100644 testing/templates/included.html (limited to 'testing/templates') diff --git a/testing/templates/include.html b/testing/templates/include.html new file mode 100644 index 0000000..cdafbad --- /dev/null +++ b/testing/templates/include.html @@ -0,0 +1,3 @@ +{% for s in strs -%} + {% include "included.html" %} +{%- endfor %} diff --git a/testing/templates/included.html b/testing/templates/included.html new file mode 100644 index 0000000..ff10488 --- /dev/null +++ b/testing/templates/included.html @@ -0,0 +1 @@ +INCLUDED: {{ s }} -- cgit