Dirkjan Ochtman
|
c74e9e8971
|
Explicitly pass trait implementation to top-level base template method
This requires a base template struct to be a member of the derived template's
context, but allows the base template to access base template fields.
|
2017-02-12 20:38:14 +01:00 |
|
Dirkjan Ochtman
|
4691cf3559
|
Add test for using base template directly
|
2017-02-12 12:06:18 +01:00 |
|
Dirkjan Ochtman
|
66dd21c857
|
Move build script helper code into askama crate
|
2017-02-08 18:34:25 +01:00 |
|
Dirkjan Ochtman
|
1dc554fafc
|
Add build script to force rebuild on template changes
|
2017-02-08 16:39:53 +01:00 |
|
Dirkjan Ochtman
|
a3844f8ce5
|
Fix some bugs in whitespace handling
|
2017-02-08 16:19:08 +01:00 |
|
Dirkjan Ochtman
|
06bd6ef634
|
Implement generator support for whitespace handling markers
|
2017-02-08 14:49:27 +01:00 |
|
Dirkjan Ochtman
|
723567ba0c
|
Implement basic support for template inheritance
|
2017-02-05 15:18:47 +01:00 |
|
Dirkjan Ochtman
|
dabe982ab6
|
Add test for string literals
|
2017-02-05 08:26:13 +01:00 |
|
Dirkjan Ochtman
|
acd8bc66d5
|
Add tests for all 6 comparison operators
|
2017-02-04 21:52:26 +01:00 |
|
Dirkjan Ochtman
|
4568c40ae4
|
Add test for == operator
|
2017-02-04 21:38:59 +01:00 |
|
Dirkjan Ochtman
|
8041160766
|
Use &str instead of String for test cases
|
2017-02-04 16:25:00 +01:00 |
|
Dirkjan Ochtman
|
504a5f41b3
|
Add basic support for loops
|
2017-02-04 10:59:35 +01:00 |
|
Dirkjan Ochtman
|
fe53034c38
|
Remove unneeded feature(proc_macro) annotation
|
2017-02-02 22:21:15 +01:00 |
|
Dirkjan Ochtman
|
780c93c3f1
|
Use 'else if' instead of 'elif' to align more with Rust
|
2017-01-12 19:21:15 +01:00 |
|
Dirkjan Ochtman
|
21e0db42ec
|
Add template source code for elif test case
|
2017-01-11 19:20:00 +01:00 |
|
Dirkjan Ochtman
|
01ca5d6c84
|
Add test for elif blocks
|
2017-01-07 22:23:01 +01:00 |
|
Dirkjan Ochtman
|
c98297fe99
|
Add test for else blocks
|
2017-01-07 22:12:52 +01:00 |
|
Dirkjan Ochtman
|
73a048459d
|
Add test for simple if-blocks
|
2017-01-07 21:04:03 +01:00 |
|
Dirkjan Ochtman
|
9800a5ab64
|
Rename it_works() test function to test_variables()
|
2017-01-07 21:01:46 +01:00 |
|
Dirkjan Ochtman
|
2000af8901
|
Add basic test case for filters
|
2017-01-06 13:24:44 +01:00 |
|
Dirkjan Ochtman
|
744b290c8d
|
Rename askama_test to testing
|
2017-01-03 10:06:47 +01:00 |
|