Browse Source

added srcset to article cards

master
Alexander Avery 3 years ago
parent
commit
ff7f2536e4
  1. 2
      layouts/partials/article-card.html

2
layouts/partials/article-card.html

@ -1,7 +1,7 @@
<article class="shadow float-on-hover card">
<div class="article-image">
<a href=" {{ .Permalink }}">
<img class="fill-wh" src="{{ .Params.featured.url }}" alt="{{ .Params.featured.alt }}"/></a>
<img class="fill-wh" src="{{ .Params.featured.url }}" srcset="{{ .Params.featured.srcset }}" alt="{{ .Params.featured.alt }}"/></a>
</div>
<div class="article-info-container">
<div class="article-info">

Loading…
Cancel
Save