Madelena Mak 138aa062ea
A wider website and documentation navigation revamp (#33601)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-16 13:40:34 +02:00

15 lines
489 B
HTML

{% assign posts_to_show = include.posts | default: 5 %}
<section class="recent-posts aside-module grid__item one-whole lap-one-half">
<h1 class="title epsilon">{% icon "mdi:newspaper-variant-multiple" %} Recent Posts</h1>
<ul class="divided">
{% for post in site.posts limit: posts_to_show %}
{% if post.url != page.url %}
<li class="post">
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</section>