diff options
author | Pavel Fokin <fokinpv@gmail.com> | 2019-04-11 07:48:38 +0300 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-04-18 09:38:39 +0200 |
commit | e29792e90ce438875a13becdeb9c030b1d3132e4 (patch) | |
tree | 769e7a997231beeac0af279dd985a54b209498ae /testing/templates | |
parent | 3825a2bb5ac6f1ad08b6b5d796d4271e4a38761e (diff) | |
download | askama-e29792e90ce438875a13becdeb9c030b1d3132e4.tar.gz askama-e29792e90ce438875a13becdeb9c030b1d3132e4.tar.bz2 askama-e29792e90ce438875a13becdeb9c030b1d3132e4.zip |
WIP: Add raw block
Diffstat (limited to 'testing/templates')
-rw-r--r-- | testing/templates/raw-complex.html | 5 | ||||
-rw-r--r-- | testing/templates/raw-simple.html | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testing/templates/raw-complex.html b/testing/templates/raw-complex.html new file mode 100644 index 0000000..c3e5a7a --- /dev/null +++ b/testing/templates/raw-complex.html @@ -0,0 +1,5 @@ +{% raw %} +{% block name %} + <span>{{ name }}</span> +{% endblock %} +{% endraw %} diff --git a/testing/templates/raw-simple.html b/testing/templates/raw-simple.html new file mode 100644 index 0000000..125a0b5 --- /dev/null +++ b/testing/templates/raw-simple.html @@ -0,0 +1,3 @@ +{% raw %} +<span>{{ name }}</span> +{% endraw %} |