blog/.themes/classic/source/_includes/asides/recent_posts.html

11 lines
243 B
HTML
Raw Normal View History

<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>