11 lines
329 B
HTML
11 lines
329 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 }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</section>
|