1
0
mirror of synced 2024-11-26 23:06:02 +03:00
select2/docs/plugins/simplesearch/templates/partials/simplesearch_item.html.twig
2019-09-11 04:02:16 -04:00

24 lines
614 B
Twig

<section class="search-row">
{% set banner = page.media.images|first %}
{% if banner %}
<div class="search-image">
<a href="{{ page.url }}">{{ banner.cropZoom(100,100).html|raw }}</a>
</div>
{% endif %}
<div class="search-item">
<div class="search-title">
<h3><a href="{{ page.url }}">{{ page.title }}</a></h3>
</div>
<div class="search-details">
<span class="search-date">{{ page.date|date(config.system.pages.dateformat.short) }}</span>
</div>
<p>{{ page.summary|raw }}</p>
<hr />
</div>
</section>