<div class="{{ subClass|default('original grey-text') }}">
<a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool grey-text">{{ entry.domainName|removeWww }}</a>
- {% 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), 'listClass': ' hide-on-med-and-down'} only %}
{% endif %}
</div>
</div>