_includes/newsroll-entry.html in jekyll-theme-isotc211-0.3 vs _includes/newsroll-entry.html in jekyll-theme-isotc211-0.3.1
- old
+ new
@@ -1,11 +1,11 @@
<article class="
news-item-card
{% if post.illustration %}news-item--with-illustration{% endif %}">
{% if post.illustration %}
- <a class="illustration-container" href="{{ post.url | relative_url }}">
- <img src="{{ post.illustration | relative_url }}">
+ <a class="illustration-container" href="{{ post.url | relative_url }}"
+ style="background-image: url({{ post.illustration | relative_url }});">
</a>
{% endif %}
<h3 class="title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h3>