Fix locale switching + Make the gettext Tera function work

This commit is contained in:
Bat
2018-06-16 23:49:44 +01:00
parent b18aa33c70
commit 1092ceba76
7 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
{% endblock title %}
{% block content %}
<h1>Welcome on {{ instance.name }}</h1>
<h1>{{ _(t="Welcome on {{ instance_name }}", instance_name=instance.name) }}</h1>
<h2>Latest articles</h2>
<div class="cards">