aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix additional clippy issueLibravatar Dirkjan Ochtman2020-07-201-1/+1
|
* Clean up clippy issuesLibravatar Dirkjan Ochtman2020-07-201-2/+1
|
* Add tests for allow whitespaces patchLibravatar Ciprian Dorin Craciun2020-06-301-0/+63
|
* Move Iron integration into a separate askama_iron crateLibravatar Dirkjan Ochtman2020-01-291-1/+0
|
* Add new templatesLibravatar Dirkjan Ochtman2020-01-122-0/+6
|
* Support escaping in string literalsLibravatar Tuomas Siipola2020-01-121-0/+2
| | | | | | Do not attempt to parse escape sequences thoroughly. Instead let the Rust compiler to check the string literals and provide nice error messages if necessary.
* Support char literalsLibravatar Tuomas Siipola2020-01-032-0/+9
|
* Reformat test for better readabilityLibravatar Dirkjan Ochtman2019-10-091-15/+3
|
* Limit test sensitivity to macro pretty printing outputLibravatar Dirkjan Ochtman2019-10-091-14/+3
| | | | See https://github.com/rust-lang/rust/issues/65207.
* Add support for boolean literalsLibravatar Dave Poulter2019-10-081-0/+2
|
* WIP: Add raw blockLibravatar Pavel Fokin2019-04-182-0/+8
|
* Move small templates into source codeLibravatar Dirkjan Ochtman2019-03-182-4/+0
|
* Documenting feature render in templateLibravatar Vicente Ramirez Perea2019-03-183-0/+10
|
* Add support for loop.lastLibravatar yossyJ2019-01-082-2/+2
|
* Allow trailing commas in tuples (#188)Libravatar yossyJ2019-01-081-1/+1
|
* Add support for tupleLibravatar yossyJ2019-01-042-0/+4
|
* fix rust macro argumentsLibravatar Juan Aguilar Santillana2018-12-131-0/+26
|
* Allow using brackets for enums in `match`Libravatar mcarton2018-12-121-2/+2
|
* Add test for unescaped variable expressions (see #132)Libravatar Qian Linfeng2018-10-201-0/+5
|
* Clean up warning about unused fieldLibravatar Dirkjan Ochtman2018-10-081-1/+1
|
* Add Rust macro support at templatesLibravatar bott2018-10-071-0/+1
|
* fix panicked on range-based for loopLibravatar bott2018-09-211-0/+15
|
* Fix operator preference at loop.indexLibravatar bott2018-09-141-1/+1
|
* Fix operator preference at loop.firstLibravatar bott2018-09-141-0/+3
|
* Fix deep nested imports in macro callsLibravatar bott2018-09-073-2/+8
|
* Fix multiple nesting in macro calls into different scopesLibravatar bott2018-09-021-2/+6
|
* Add test for nested macro calls into different scopeLibravatar bott2018-09-022-0/+9
|
* Add benchmarks to the Askama repoLibravatar Dirkjan Ochtman2018-06-282-0/+20
|
* Add test for 'loop.first' variableLibravatar Dirkjan Ochtman2018-06-251-1/+1
|
* Add test for range operatorsLibravatar Dirkjan Ochtman2018-06-231-0/+5
|
* Add test for 'super' macroLibravatar Dirkjan Ochtman2018-06-221-0/+1
|
* Add test for deep inheritanceLibravatar Dirkjan Ochtman2018-06-223-0/+43
|
* Forgot to add new test templatesLibravatar Dirkjan Ochtman2018-05-212-0/+8
|
* Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman2018-04-121-0/+1
|
* Fix whitespace handling for include blocks (fixes #69)Libravatar Dirkjan Ochtman2018-04-021-1/+1
|
* infer Content-type from the file extension for iron integrationLibravatar Hajime Fukuda2018-01-191-0/+1
|
* Support matching custom enumsLibravatar Anthony Nowell2017-11-021-0/+8
|
* Make match ref/deref as neededLibravatar Anthony Nowell2017-11-021-0/+6
| | | | | Much of this can be yanked out and made simpler when match-modes lands in stable
* support literals in match armsLibravatar Anthony Nowell2017-11-022-0/+10
|
* implement basic match functionalityLibravatar Anthony Nowell2017-11-021-0/+6
|
* Add scope when importing macrosLibravatar Lars Erik Rosengren2017-10-151-2/+2
|
* Fix whitespace handling for macros and imports (#55)Libravatar larros2017-10-012-6/+16
| | | | | | Resolves https://github.com/djc/askama/issues/52. * Fix of review comments
* Add support for importing template files with macros (#51)Libravatar larros2017-09-261-0/+2
| | | | * Fix review comments for macro imports
* Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren2017-09-101-0/+1
|
* Changed implementation of precedence rulesLibravatar Lars Erik Rosengren2017-09-031-0/+7
| | | | | | | | | | | | | | This implementation resolves djc/askama#44 by changing the precedence implementation. The previous solution was very slow because it had to try to parse all combinations of precedence layers leading to 2^9 iterations for each expr_any. This is solved by reusing the left operand instead of reparsing it when the operator isn't found. This implementation also solves another related issue that expressions with multiple operators couldn't be parsed, for example {{1 * 2 * 3}}. This is handled by using expr_any for the right operand instead of only using higher level precedence layers.
* Add `join` filter & tests for itLibravatar defyrlt2017-09-021-0/+1
|
* Add test for parent default block implementationsLibravatar Bastien Orivel2017-08-251-0/+1
|
* Allow {% block name %} {% endblock name %}Libravatar Bastien Orivel2017-08-241-1/+1
| | | | This makes converting an app from tera to askama easier.
* Adding optional json filterLibravatar Anthony Nowell2017-08-231-1/+4
|
* Add test for basic macro useLibravatar Dirkjan Ochtman2017-08-221-0/+5
|