You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
462 B

<div class="archive-wrap">
<h3>Latest {{ page.categories | first | replace: '-',' ' | capitalize }}</h3>
<ul class="th-grid">
{% capture category_name %}{{ page.categories | first }}{% endcapture %}
{% for post in site.categories.[category_name] limit:4 %}
<li><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}"><img src="{{ site.url }}/images/{{ post.image.thumb }}" alt=""></a></li>
{% endfor %}
</ul>
</div><!-- /.archive-wrap -->