diff --git a/shared/templates/shared/article_preview.html b/shared/templates/shared/article_preview.html index cd09d0535b39f32941cf5a821490e819926672a6..1fe40b946daf6559c1a3c0f5a391e321bd93c6d8 100644 --- a/shared/templates/shared/article_preview.html +++ b/shared/templates/shared/article_preview.html @@ -10,8 +10,13 @@ <div class="article-card-cover"> <a href="{{ article.url }}" itemprop="image" itemtype="http://schema.org/ImageObject" itemscope=""> - {% image article.image width-2000 as img %} - <img src="{{ img.url }}" alt="{{ article.title }}"> + {% image article.image fill-356x192 as img %} + {% image article.image fill-714x384 as img_2x %} + <img + src="{{ img.url }}" + srcset="{{ img.url }}, {{ img_2x.url }} 2x" + alt="{{ article.title }}" + > <meta itemprop="url" content="{{ img.url }}"> </a>