summaryrefslogtreecommitdiff
path: root/template.py
diff options
context:
space:
mode:
Diffstat (limited to 'template.py')
-rwxr-xr-xtemplate.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/template.py b/template.py
index 78a801ff..c0c42ea9 100755
--- a/template.py
+++ b/template.py
@@ -19,6 +19,9 @@ import os
env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=["jinja2.ext.i18n"],
+ lstrip_blocks=True,
+ trim_blocks=True,
+ undefined=jinja2.StrictUndefined,
autoescape=False)