]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tpl/home.twig
fix bug #182: Wrong title on favorites and archives pages
[github/wallabag/wallabag.git] / tpl / home.twig
index a2fa9a93eb0529c5061a4852f4ed266f7e3e4935..6b80c6ede2d9f4d2803d902ed519b49fdc576737 100644 (file)
@@ -1,5 +1,13 @@
 {% extends "layout.twig" %}
-{% block title %}{% trans "home" %}{% endblock %}
+{% block title %}
+{% if view == 'fav' %}
+{% trans "favoris" %}
+{% elseif view == 'archive' %}
+{% trans "archive" %}
+{% else %}
+{% trans "unread" %}
+{% endif %}
+{% endblock %}
 {% block menu %}
 {% include '_menu.twig' %}
 {% endblock %}