From: Nicolas Lœuillet Date: Tue, 26 Dec 2017 08:07:28 +0000 (+0100) Subject: Updated baggy theme for the no-title fix X-Git-Tag: 2.3.1~1^2~1 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=8ffcee8aff06047835acd96564bf17808d4af764 Updated baggy theme for the no-title fix --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index 12cead48..27c8e8a2 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig @@ -38,7 +38,7 @@ {% for entry in entries %}
-

{{ entry.title|e|raw }}

+

{{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }}

{% set readingTime = entry.readingTime / app.user.config.readingSpeed %}