mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-09 16:59:32 +00:00
29 lines
1.2 KiB
Twig
29 lines
1.2 KiB
Twig
<div class="card">
|
|
<div class="card-body">
|
|
<div class="card-fullimage">
|
|
<ul class="card-entry-labels">
|
|
{% for tag in entry.tags | slice(0, 3) %}
|
|
<li><a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
<div class="preview activator" style="background-image: url({{ entry.previewPicture }})"></div>
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
<span class="card-title dot-ellipsis dot-resize-update">
|
|
<a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| e | raw | striptags }}">
|
|
{{ entry.title | e | raw | striptags | truncate(80, true, '…') }}
|
|
</a>
|
|
</span>
|
|
|
|
<div class="original grey-text">
|
|
<a href="{{ entry.url|e }}" target="_blank" title="{{ entry.domainName|removeWww }}" class="tool original grey-text">
|
|
<span>{{ entry.domainName|removeWww }}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %}
|
|
</div>
|