aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/let-child.html
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-12 16:28:26 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-12 16:28:26 +0100
commit6360ea517dcf98d57b1da287845edd20a86543b5 (patch)
tree0bb729d7acd1aa36ea3f14c909f3965b0aa808df /testing/templates/let-child.html
parent0f90ab83d68cd8b5fb7ca6ec31b820fd7893cd06 (diff)
downloadaskama-6360ea517dcf98d57b1da287845edd20a86543b5.tar.gz
askama-6360ea517dcf98d57b1da287845edd20a86543b5.tar.bz2
askama-6360ea517dcf98d57b1da287845edd20a86543b5.zip
Add new templates
Diffstat (limited to 'testing/templates/let-child.html')
-rw-r--r--testing/templates/let-child.html5
1 files changed, 5 insertions, 0 deletions
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 %}