X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2FCard%2F_content.html.twig;h=fc5bfc4887adb3a958d7e19d4ff72114a148f237;hb=49fb9e7cabef39c30579eee0301f1019a3251dcd;hp=06dc0b6d16b06403d5a9e2110545b45c3f9bd740;hpb=a8541089be426b78c4bf48743e53e17af3ef432a;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig index 06dc0b6d..fc5bfc48 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig @@ -8,12 +8,8 @@
{{ entry.domainName|removeWww }} - {% if withTags %} - {% for tag in entry.tags | slice(0, 3) %} - - {{ tag.label }} - - {% endfor %} + {% if withTags is defined %} + {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'listClass': ' hide-on-med-and-down'} only %} {% endif %}