File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 6
6
4.0.0 to 4.1.0
7
7
--------------
8
8
9
+ * Enable expression-statement extension that adds the do tag.
9
10
* Added raw keyword argument to filesource function, which defaults to False.
10
11
* Added keep option for `generate ` command, which does not remove an existing deploy directory.
11
12
* Load newer versions of bootstrap, fontawesome and jquery via CDN.
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ def __init__(self, logya_inst):
53
53
# Enable with statement for nested variable scopes.
54
54
self .env .add_extension ('jinja2.ext.with_' )
55
55
56
+ # Enable expression-statement extension that adds the do tag.
57
+ self .env .add_extension ('jinja2.ext.do' )
58
+
56
59
# Trim whitespace around template tags if configured.
57
60
tpl_settings = logya_inst .config .get ('template' )
58
61
if tpl_settings and tpl_settings .get ('trim_whitespace' ):
You can’t perform that action at this time.
0 commit comments