1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-15 09:35:21 +01:00
blog/_src/_includes/featured.html

16 lines
549 B
HTML
Raw Normal View History

2014-07-12 21:22:47 +02:00
2015-08-10 00:48:31 +02:00
<aside class="featured">
2015-11-20 18:13:34 +01:00
<div class="grid grid--fit grid-medium--gutters">
2015-08-10 00:48:31 +02:00
{% for post in site.posts %}
{% if post.featured %}
<article class="grid__col">
2015-09-26 22:47:34 +02:00
<a class="hentry__teaser featured-link" href="{{ post.url }}" title="{{ post.title }}">
2017-07-23 20:40:33 +02:00
{% include picture.html size='featured' %}
2015-08-10 00:48:31 +02:00
<h1 class="featured-title">{{ post.title | titlecase }}</h1>
</a>
</article>
{% endif %}
{% endfor %}
</div>
</aside>