From f5f04edbf832aa2e219c621b9895c33dce3e47ba Mon Sep 17 00:00:00 2001
From: Danny van Kooten <dannyvankooten@users.noreply.github.com>
Date: Tue, 17 Mar 2020 16:12:55 +0100
Subject: first stab at supporting template inheritance

---
 tests/data/01/base.tmpl  | 9 +++++++++
 tests/data/01/child.tmpl | 5 +++++
 2 files changed, 14 insertions(+)
 create mode 100644 tests/data/01/base.tmpl
 create mode 100644 tests/data/01/child.tmpl

(limited to 'tests/data')

diff --git a/tests/data/01/base.tmpl b/tests/data/01/base.tmpl
new file mode 100644
index 0000000..6ca89cb
--- /dev/null
+++ b/tests/data/01/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/01/child.tmpl b/tests/data/01/child.tmpl
new file mode 100644
index 0000000..05467a6
--- /dev/null
+++ b/tests/data/01/child.tmpl
@@ -0,0 +1,5 @@
+{% extends "base.tmpl" %}
+
+{% block content %}
+Child content
+{% endblock %}
\ No newline at end of file
-- 
cgit v1.2.3