blog/source/_includes/asides/recent_posts.html
2015-01-19 13:16:19 +01:00

11 lines
257 B
HTML

<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
{% for post in site.posts limit: site.recent_posts %}
<li class="post">
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</section>