www.moparisthebest.com/themes/classic/source/_includes/asides/recent_posts.html
Brandon Mathis 5d61b46358 1. Updated readme
2. Improved blog typography
3. Improved support for Disqus
4. Removed unnecessary page layout
2011-06-20 16:44:04 -04:00

13 lines
298 B
HTML

{% 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>
</section>
{% endif %}