1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/plugins/simplesearch/templates/partials/simplesearch_item.html.twig
2017-09-02 20:34:47 -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>