feat: create index and about pages

This commit is contained in:
Alexis Fourmaux 2025-06-04 01:39:48 +02:00
parent cc39ed4c4e
commit 0c71f81c78
8 changed files with 61 additions and 21 deletions

View file

@ -0,0 +1,18 @@
<ul class="articles">
{% for page in section.pages %}
{%- if max_articles is defined and loop.index > max_articles -%}{%- break -%}{%- endif -%}
<li>
<h2 class="title">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h2>
<span class="date">
<meta itemprop="datePublished" content="{{ page.date | date(format='%+') }}">
{{ page.date | date(format='%d %B %Y') }}
</span>
</p class="description">
<span>{{ page.summary | safe }}</span>
<span><a class="read-more" href="{{ page.permalink }}">Lire la suite...</a></span>
</p>
</li>
{% endfor %}
</ul>