1
0
mirror of synced 2024-11-30 00:26:03 +03:00
select2/docs/plugins/simplesearch/templates/partials/simplesearch_item.html.twig

24 lines
614 B
Twig
Raw Normal View History

2017-09-03 03:34:47 +03:00
<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>