afpy.org/templates/index.html

39 lines
1.4 KiB
HTML
Raw Normal View History

2017-09-21 14:34:26 +00:00
{% extends '_layout.jinja2' %}
2017-09-22 10:11:26 +00:00
{% block header %}
<h1><abbr>AFPy</abbr> Association Francophone Python</h1>
{% endblock header %}
2017-09-21 15:50:24 +00:00
2017-09-21 14:34:26 +00:00
{% block main %}
2017-09-22 12:12:51 +00:00
<h2>AFPy</h2>
2017-09-22 14:42:23 +00:00
<p>
Créée en décembre 2004, l'AFPy (Association Francophone Python) a pour but de promouvoir le langage Python, que ce soit auprès d'un public averti ou débutant.
2020-06-12 22:00:37 +00:00
Pour ce faire, des <a href="{{ url_for('communaute') }}">évènements</a> sont organisés régulièrement au niveau local et d'autres évènements à un niveau plus général.
2017-09-22 14:42:23 +00:00
</p>
2017-09-22 12:12:51 +00:00
<h2>Adhérer</h2>
2017-09-22 14:42:23 +00:00
<p>
Il est possible de soutenir le développement de l'AFPy en cotisant ou en effectuant un don.
2017-09-22 14:42:23 +00:00
</p>
2020-06-12 22:00:37 +00:00
<form action="{{ url_for('adhesions') }}">
<input type="submit" value="S'inscrire" class="button" />
2017-09-22 12:12:51 +00:00
</form>
<h2>Actualités</h2>
2017-09-22 12:58:01 +00:00
<section id="index-news">
{% for timestamp, post in posts.items() %}
2017-09-22 12:58:01 +00:00
<article>
<h3>{{ post.title }}</h3>
<time pubdate datetime="{{ post.published }}">
{{ post.published | parse_iso_datetime('%x') }}
</time>
2018-10-04 15:44:18 +00:00
{% if post._image %}
<img src="{{ url_for('post_image', path=post._image) }}" alt="{{ post.title }}" />
2018-05-04 20:54:23 +00:00
{% endif %}
{{ post.summary | safe }}
<p><a href="{{ url_for('post', name=name, timestamp=timestamp) }}">Lire la suite…</a></p>
2017-09-22 12:58:01 +00:00
</article>
{% endfor %}
</section>
2017-09-21 14:34:26 +00:00
{% endblock main %}