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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user