X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=d8b39160016dd8311cbcd95923c2a7b0ade83d60;hb=41022cb289f5d08418ccb2d7050098c4ee3721e4;hp=338639205433f2f9db152077c8d6be279f8ada10;hpb=56a7ce17f3a9a22e0bfc8651cb690a14447e0afd;p=github%2Fwallabag%2Fwallabag.git 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 33863920..d8b39160 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 @@ -1,5 +1,12 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} +{% block head %} + {{ parent() }} + {% if tag is defined and app.user.config.feedToken %} + + {% endif %} +{% endblock %} + {% block title %} {% set filter = '' %} {% if tag is defined %} @@ -12,14 +19,23 @@ {% endblock %} {% block content %} - - {% set viewMode = app.user.config.viewMode %} + {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} + {% endif %} + {% set listMode = app.user.config.listMode %}
{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300) }}…
{% else %}