summaryrefslogtreecommitdiff
path: root/tests/template_tests/templates/partial_examples.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/templates/partial_examples.html')
-rw-r--r--tests/template_tests/templates/partial_examples.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/template_tests/templates/partial_examples.html b/tests/template_tests/templates/partial_examples.html
new file mode 100644
index 0000000000..61ffff4005
--- /dev/null
+++ b/tests/template_tests/templates/partial_examples.html
@@ -0,0 +1,15 @@
+{% partialdef test-partial %}
+TEST-PARTIAL-CONTENT
+{% endpartialdef %}
+
+{% block main %}
+BEGINNING
+{% partial test-partial %}
+MIDDLE
+{% partial test-partial %}
+END
+{% endblock main %}
+
+{% partialdef inline-partial inline %}
+INLINE-CONTENT
+{% endpartialdef %}