forked from Github-Mirrors/canaille
Fixed some jinja translation with {% trans %} blocks and new lines.
This commit is contained in:
parent
7e0e0d6068
commit
47576c541f
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ def setup_logging(app):
|
|||
|
||||
def setup_jinja(app):
|
||||
app.jinja_env.filters["len"] = len
|
||||
app.jinja_env.policies["ext.i18n.trimmed"] = True
|
||||
|
||||
|
||||
def setup_themer(app):
|
||||
|
|
Loading…
Reference in a new issue