_layouts/home.html in jekyll-theme-isotc211-0.2.4 vs _layouts/home.html in jekyll-theme-isotc211-0.3
- old
+ new
@@ -11,23 +11,10 @@
<section class="news">
<h2 class="section-title">News</h2>
<div class="items">
{% for post in site.posts %}
-
- <article class="
- news-item-card
- {% if post.illustration %}news-item--with-illustration{% endif %}">
-
- {% if post.illustration %}
- <div class="illustration-container">
- <img src="{{ post.illustration | relative_url }}">
- </div>
- {% endif %}
-
- <h3 class="title"><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h3>
- <div class="excerpt">{{ post.excerpt }}</div>
- </article>
+ {% include newsroll-entry.html %}
{% endfor %}
</div>
</section>
{% endif %}