- {% if withTags %}
- {% for tag in entry.tags | slice(0, 3) %}
- <span class="chip hide-on-med-and-down">
- <a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
- </span>
- {% endfor %}
+ {% if withTags is defined %}
+ {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'entryId': entry.id, 'listClass': ' hide-on-med-and-down'} only %}