aboutsummaryrefslogtreecommitdiff
path: root/tests/data/template-with-logic/base.tmpl
diff options
context:
space:
mode:
authorDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-12-04 09:52:35 +0100
committerDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-12-04 09:52:35 +0100
commit0501ee7b850936db0e518dc734e62db13cd07006 (patch)
tree15ae4eac42c1b012628fbaacbf8a93f4ee5f359b /tests/data/template-with-logic/base.tmpl
parent0ff26657d59715ac875fb7949a58a08039b5739e (diff)
downloadunja-0501ee7b850936db0e518dc734e62db13cd07006.tar.gz
unja-0501ee7b850936db0e518dc734e62db13cd07006.zip
add context_free function for easily getting rid of context
Diffstat (limited to 'tests/data/template-with-logic/base.tmpl')
-rw-r--r--tests/data/template-with-logic/base.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/template-with-logic/base.tmpl b/tests/data/template-with-logic/base.tmpl
new file mode 100644
index 0000000..241c78c
--- /dev/null
+++ b/tests/data/template-with-logic/base.tmpl
@@ -0,0 +1,9 @@
+Header
+
+{%- block content %}
+Content
+{%- endblock %}
+
+{%- block footer %}
+Footer
+{%- endblock -%} \ No newline at end of file