diff options
author | Anthony Nowell <anowell@gmail.com> | 2017-10-05 21:59:51 -0600 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2017-11-02 15:01:10 +0100 |
commit | 89a90eb46c822957af5b6aef8615a7d7398e7de4 (patch) | |
tree | 3a5faf88d0276e3de82f2ee4e344a1c08dc171af /testing/templates | |
parent | cc51d201ab9e7ba958363d1f74b7bfd4dd12fecf (diff) | |
download | askama-89a90eb46c822957af5b6aef8615a7d7398e7de4.tar.gz askama-89a90eb46c822957af5b6aef8615a7d7398e7de4.tar.bz2 askama-89a90eb46c822957af5b6aef8615a7d7398e7de4.zip |
Make match ref/deref as needed
Much of this can be yanked out and made simpler
when match-modes lands in stable
Diffstat (limited to '')
-rw-r--r-- | testing/templates/match-literal-num.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/templates/match-literal-num.html b/testing/templates/match-literal-num.html new file mode 100644 index 0000000..4864116 --- /dev/null +++ b/testing/templates/match-literal-num.html @@ -0,0 +1,6 @@ +{% match item %} +{% when 42 %} +Found answer to everything +{% else %} +Else found {{item}} +{% endmatch %} |