1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-09-24 10:08:50 +02:00
blog/_src/_includes/featured.html

16 lines
541 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-08-18 22:45:30 +02:00
<div class="grid grid--full grid-small--fit grid--gutters">
2015-08-10 00:48:31 +02:00
{% for post in site.posts %}
{% if post.featured %}
<article class="grid__col">
<a class="featured-link" href="{{ post.url }}" title="{{ post.title }}">
{% picture featured {{ post.image }} %}
<h1 class="featured-title">{{ post.title | titlecase }}</h1>
</a>
</article>
{% endif %}
{% endfor %}
</div>
</aside>