mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-24 10:58:13 +01:00
21 lines
507 B
HTML
21 lines
507 B
HTML
{% if site.related_posts.size > 1 %}
|
|
<aside class="related-posts">
|
|
|
|
<h1 class="related-title">Related</h1>
|
|
|
|
<div class="row">
|
|
|
|
{% for post in site.posts limit:6 %}
|
|
|
|
<article class="related-post col2">
|
|
<a href="{{ post.url }}">
|
|
<h1 class="post-title">{{ post.title }}</h1>
|
|
</a>
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
{% endif %} |