diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-12 16:28:26 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-01-12 16:28:26 +0100 |
commit | 6360ea517dcf98d57b1da287845edd20a86543b5 (patch) | |
tree | 0bb729d7acd1aa36ea3f14c909f3965b0aa808df /testing | |
parent | 0f90ab83d68cd8b5fb7ca6ec31b820fd7893cd06 (diff) | |
download | askama-6360ea517dcf98d57b1da287845edd20a86543b5.tar.gz askama-6360ea517dcf98d57b1da287845edd20a86543b5.tar.bz2 askama-6360ea517dcf98d57b1da287845edd20a86543b5.zip |
Add new templates
Diffstat (limited to 'testing')
-rw-r--r-- | testing/templates/let-base.html | 1 | ||||
-rw-r--r-- | testing/templates/let-child.html | 5 |
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 %} |