aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-05-21 14:25:39 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-05-21 14:25:39 +0200
commit39ce50616322a58325540db6ef6832aafa51934f (patch)
tree614fa0651c86986e97e3c5eeaaa52437c89c0e28 /testing/templates
parent60950c97debc6c141e5252519d45f2da51572cb5 (diff)
downloadaskama-39ce50616322a58325540db6ef6832aafa51934f.tar.gz
askama-39ce50616322a58325540db6ef6832aafa51934f.tar.bz2
askama-39ce50616322a58325540db6ef6832aafa51934f.zip
Forgot to add new test templates
Diffstat (limited to '')
-rw-r--r--testing/templates/nested-base.html4
-rw-r--r--testing/templates/nested-child.html4
2 files changed, 8 insertions, 0 deletions
diff --git a/testing/templates/nested-base.html b/testing/templates/nested-base.html
new file mode 100644
index 0000000..2ae4255
--- /dev/null
+++ b/testing/templates/nested-base.html
@@ -0,0 +1,4 @@
+{% block content %}
+loopy
+{% block foo %}Foo{% endblock %}
+{% endblock %}
diff --git a/testing/templates/nested-child.html b/testing/templates/nested-child.html
new file mode 100644
index 0000000..7bb69a2
--- /dev/null
+++ b/testing/templates/nested-child.html
@@ -0,0 +1,4 @@
+{% extends "nested-base.html" %}
+{% block content %}
+{% block foo %}durpy{% endblock %}
+{% endblock content %}