]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
Added tag label in the page title
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / entries.html.twig
index 919f94ecad7b898c799f5607ab1a8f9cf41854ba..3e678a3260f039a85f57ac27c92fadee72e1a297 100644 (file)
@@ -1,7 +1,11 @@
 {% extends "WallabagCoreBundle::layout.html.twig" %}
 
 {% block title %}
-  {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %}
+  {% set params = {} %}
+  {% if tag is defined %}
+    {% set params = {'label': tag} %}
+  {% endif %}
+  {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'params': params} %}
 {% endblock %}
 
 {% block content %}