X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2F_card_list.html.twig;h=7c83c3bba712200a17c64aee1810a712c8bdc6d9;hb=2daae770942911428fba11af207e61e6460cff98;hp=b77cdc14559cf7b250c73c0fbc418ff84161172b;hpb=56a7ce17f3a9a22e0bfc8651cb690a14447e0afd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig index b77cdc14..7c83c3bb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig @@ -1,14 +1,17 @@ -
-
-
- - - {{ entry.title| striptags | truncate(120, true, '…') | raw }} - - -

{{ entry.content|striptags|slice(0, 500)|raw }}…

-
- - {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} +
+
+ {% if entry.previewPicture is not null %} + + + + {% endif %}
+ {% include "@WallabagCore/themes/material/Entry/Card/_content.html.twig" with {'entry': entry, 'withTags': true, 'subClass': 'metadata'} only %} +