diff --git a/templates/base.html b/templates/base.html index ca0cadf..29ebfbe 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,4 +1,4 @@ -{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %} +{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions %} {%- macro _(msg) -%} {{ msg % kwargs }} {%- endmacro -%} @@ -160,7 +160,7 @@ {% endif %}