1
0
forked from ti-nuage/site

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

@@ -6,17 +6,13 @@
{% block content %}{{ contents | safe }}{% endblock %}
<section class="Services">
<h2 class="tac mt64">Actualités</h2>
{% set news = collections["news"] %}
<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>
<h2 class="tac mt128 mb64">Actualités</h2>
{% for article in collections["news"] %}
<h3><a href="{{ article.path }}">{{ moment(article.date).format('LL') }} | {{article.title }}</a></h3>
{{ article.excerpt | safe }}
<p><a href="{{ article.path }}">Lire la suite...</a></p>
{% else %}
{% endfor %}
<div class="tac mt32">
<a class="Button" href="/blog">Voir les archives</a>
</div>