Reprise du style et de la première page.

Aussi, une nouvelle page décrit l'association, et sert d'introduction
avant de proposer l'adhésion.
This commit is contained in:
David Soulayrol
2022-05-08 22:00:03 +02:00
parent 8f5233db92
commit bdfc466b32
7 changed files with 72 additions and 51 deletions

View File

@@ -3,16 +3,11 @@
{% block article %}
{% block header %}{{ header | safe }}{% endblock %}
<article>
{% block content %}{{ contents | safe }}{% endblock %}
{% set news = collections["archives"] %}
<ul>
{% for article in news %}
<li>
<p><a href="/{{ article.path }}">{{ moment(article.date).format('LL') }} | {{ article.title }}</a></p>
{{ article.excerpt | safe }}
</li>
{% else %}
{% endfor %}
</ul>
{% for article in collections["archives"] %}
<h2><a href="/{{ article.path }}">{{ moment(article.date).format('LL') }} | {{ article.title }}</a></h2>
{{ article.excerpt | safe }}
<p><a href="/{{ article.path }}">Lire la suite...</a></p>
{% else %}
{% endfor %}
</article>
{% endblock %}