mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-25 11:18:35 +01:00
16 lines
546 B
HTML
16 lines
546 B
HTML
|
|
<aside class="featured">
|
|
<div class="grid grid--fit grid-medium--gutters">
|
|
{% for post in site.posts %}
|
|
{% if post.featured %}
|
|
<article class="grid__col">
|
|
<a class="hentry__teaser 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>
|