aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat_covid19/webface.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/fatcat_covid19/webface.py b/fatcat_covid19/webface.py
index c8e2064..37eb464 100644
--- a/fatcat_covid19/webface.py
+++ b/fatcat_covid19/webface.py
@@ -52,6 +52,10 @@ app.log = create_logger(app)
babel = Babel(app)
app.es_client = elasticsearch.Elasticsearch(app.config['ELASTICSEARCH_BACKEND'])
+# remove most jinja2 template whitespace
+app.jinja_env.trim_blocks = True
+app.jinja_env.lstrip_blocks = True
+
from fatcat_covid19.search import *
bp = Blueprint('search', __name__)