2011-06-07 20:12:46 +00:00
|
|
|
{% if page.single and site.recent_posts %}
|
|
|
|
<section>
|
|
|
|
<h1>Recent Posts</h1>
|
|
|
|
<ul id="recent_posts">
|
|
|
|
{% for post in site.posts limit: site.recent_posts %}
|
|
|
|
<li class="post">
|
|
|
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2011-06-20 20:44:04 +00:00
|
|
|
</section>
|
2011-06-07 20:12:46 +00:00
|
|
|
{% endif %}
|