Code cleanup

This commit is contained in:
Björn Fromme
2018-09-22 12:10:08 +02:00
parent 7d9ae43ee1
commit bfc123ee12
@@ -111,18 +111,11 @@
<f:section name="PictureTag">
<picture class="searchresult-item__image">
<source media="(max-width: 768px)" srcset="{f:uri.image(
image: image, width: '220', height: '130c-100'
)} 220w"/>
<source media="(max-width: 1200px)" srcset="{f:uri.image(
image: image, width: '280', height: '220c-100'
)} 280w"/>
<source media="(min-width: 1201px)" srcset="{f:uri.image(
image: image, width: '260', height: '200c-100'
)} 260w"/>
<img class="scale" src="{f:uri.image(
image: image, width: '260', height: '200c-100'
)}" title="{image.title}" alt="{image.alternative}">
<source media="(max-width: 768px)" srcset="{f:uri.image(image: image, width: '220', height: '130c-100')} 220w"/>
<source media="(max-width: 1200px)" srcset="{f:uri.image(image: image, width: '280', height: '220c-100')} 280w"/>
<source media="(min-width: 1201px)" srcset="{f:uri.image(image: image, width: '260', height: '200c-100')} 260w"/>
<img class="scale" src="{f:uri.image(image: image, width: '260', height: '200c-100')}"
title="{image.title}" alt="{image.alternative}">
</picture>
</f:section>