aboutsummaryrefslogtreecommitdiff
path: root/tests/data/inheritance-depth-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/inheritance-depth-1')
-rw-r--r--tests/data/inheritance-depth-1/base.tmpl9
-rw-r--r--tests/data/inheritance-depth-1/one.tmpl5
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/data/inheritance-depth-1/base.tmpl b/tests/data/inheritance-depth-1/base.tmpl
new file mode 100644
index 0000000..241c78c
--- /dev/null
+++ b/tests/data/inheritance-depth-1/base.tmpl
@@ -0,0 +1,9 @@
+Header
+
+{%- block content %}
+Content
+{%- endblock %}
+
+{%- block footer %}
+Footer
+{%- endblock -%} \ No newline at end of file
diff --git a/tests/data/inheritance-depth-1/one.tmpl b/tests/data/inheritance-depth-1/one.tmpl
new file mode 100644
index 0000000..05467a6
--- /dev/null
+++ b/tests/data/inheritance-depth-1/one.tmpl
@@ -0,0 +1,5 @@
+{% extends "base.tmpl" %}
+
+{% block content %}
+Child content
+{% endblock %} \ No newline at end of file