nicolabs.net/articles.html

26 lines
543 B
HTML

---
layout: page
title: All articles
---
{% comment %}
See https://jekyllrb.com/docs/posts/#displaying-an-index-of-posts.
{% endcomment %}
<h2 class="chapter-links">
<a href="{{ '/tags' | prepend: site.baseurl }}">by tag</a>
</h2>
{% comment %}
Sort posts in the order than in the index's pagination.
{% endcomment %}
{% include allposts.liquid %}
{% assign posts = allposts | sort: "date" | reverse %}
{% comment %}
Finally iterate on them.
{% endcomment %}
{% for post in posts %}
{% include article-preview.html %}
{% endfor %}