This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="blog{% unless article.image %} blog--no-image{% endunless %}{% unless show_date %} blog--no-date{% endunless %}"> | |
{% if article.image %} | |
<div class="blog__media-wrapper"> | |
<a href="{{ article.url }}" class="home-blog__link blog-link"> | |
<div class="blog__media"> | |
{% if crop %} | |
<img class="home-blog__media-img blog__img lazyload js" alt="{{ article.title }}" | |
src="{{ article.image | img_url: '360x200', crop: 'center' }}" | |
data-sizes="auto" | |
data-src="{{ article.image | img_url: '900x500', crop: 'center' }}" |