aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/let-base.html1
-rw-r--r--testing/templates/let-child.html5
2 files changed, 6 insertions, 0 deletions
diff --git a/testing/templates/let-base.html b/testing/templates/let-base.html
new file mode 100644
index 0000000..3ddfb62
--- /dev/null
+++ b/testing/templates/let-base.html
@@ -0,0 +1 @@
+{% block body %}{% endblock %}
diff --git a/testing/templates/let-child.html b/testing/templates/let-child.html
new file mode 100644
index 0000000..3097bda
--- /dev/null
+++ b/testing/templates/let-child.html
@@ -0,0 +1,5 @@
+{% extends "let-base.html" %}
+{% block body -%}
+ {% let x = 1 %}
+ {{- x -}}
+{%- endblock %}