From b026d3b11566e705284c0ce95c61ff44a6e714bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 13 Sep 2015 10:03:53 +0200 Subject: add previewPicture on baggy theme --- src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig') diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig index 18cfd59d..f58d0399 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig @@ -31,6 +31,9 @@ {% for tag in entry.tags %}{{ tag.label }}{% endfor %} {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} + {% if entry.previewPicture is not null %} +
{{ entry.title|raw }}
+ {% endif %}
{{ entry.content | raw }}
-- cgit v1.2.3