summaryrefslogtreecommitdiff
path: root/make_site.py
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-01 20:25:37 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-01 20:25:37 +0100
commitab0ba5737d689aa8a37f65702b3a79275ef2849f (patch)
tree04ae560ac90d877663d9d460c777b5bfe22ab2e9 /make_site.py
parent98b0950b8d859fcd970203e6332ffb7797193289 (diff)
downloadwww-ab0ba5737d689aa8a37f65702b3a79275ef2849f.tar.gz
www-ab0ba5737d689aa8a37f65702b3a79275ef2849f.tar.bz2
www-ab0ba5737d689aa8a37f65702b3a79275ef2849f.zip
enable new style formatting
Diffstat (limited to 'make_site.py')
-rwxr-xr-xmake_site.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/make_site.py b/make_site.py
index c7d2615f..33978447 100755
--- a/make_site.py
+++ b/make_site.py
@@ -27,6 +27,7 @@ env = jinja2.Environment(loader=jinja2.FileSystemLoader(str(PurePath(__file__).p
trim_blocks=True,
undefined=jinja2.StrictUndefined,
autoescape=False)
+env.newstyle_gettext = True
if len(sys.argv) >= 2 and sys.argv[1] == "-vv":
DEBUG=1