aboutsummaryrefslogtreecommitdiffstats
path: root/extra/i18n/babel.cfg
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-12 15:50:49 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-12 15:50:49 -0700
commitef162e8d070f51f422e57e9cfd62beb1db47e932 (patch)
tree88d77c9d55f0e75b605b1956602f1017b26783e6 /extra/i18n/babel.cfg
parent221fe40a0440b86773ad17db967ed4335d9e4da9 (diff)
downloadfatcat-scholar-ef162e8d070f51f422e57e9cfd62beb1db47e932.tar.gz
fatcat-scholar-ef162e8d070f51f422e57e9cfd62beb1db47e932.zip
very hack-y i18n support in jinja2 templates
Diffstat (limited to 'extra/i18n/babel.cfg')
-rw-r--r--extra/i18n/babel.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/i18n/babel.cfg b/extra/i18n/babel.cfg
new file mode 100644
index 0000000..ff50c82
--- /dev/null
+++ b/extra/i18n/babel.cfg
@@ -0,0 +1,4 @@
+[python 1="**.py" language=":"][/python]
+[jinja2: **/templates/**.html]
+encoding = utf-8
+extensions = jinja2.ext.autoescape,jinja2.ext.with_