X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=5d657c7e7cb9a8bed158a52d9d01da3e7eb70ea5;hb=920d88599a077a7624574345243caf45c6bc5820;hp=ffc5bec65826d3fd53907efe2e704abdb3228d87;hpb=555ed552ca974fde57d3c153e33b28c32fb3115e;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 ffc5bec6..5d657c7e 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,7 +1,11 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %} + {% set currentTag = '' %} + {% if tag is defined %} + {% set currentTag = tag %} + {% endif %} + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'currentTag': currentTag} %} {% endblock %} {% block content %} @@ -29,16 +33,16 @@
  • {{ entry.domainName|removeWww }}
  • {% if entry.previewPicture is null %} -

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

    +

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

    {% else %} {{ entry.title|raw }} @@ -49,25 +53,29 @@ {% if form is not null %} - + {% endif %} {% endblock %}