2017-08-20 00:39:19 +02:00
|
|
|
{% extends "cofcms/base_aside.html" %}
|
2017-08-26 18:05:20 +02:00
|
|
|
{% load wagtailimages_tags cofcms_tags wagtailcore_tags %}
|
2017-08-19 01:32:26 +02:00
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
{% block aside %}
|
|
|
|
{% calendar %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2017-08-19 01:32:26 +02:00
|
|
|
{% block content %}
|
|
|
|
<section class="intro">
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
<div>{{ page.introduction|safe }}</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="actulist">
|
|
|
|
{% for actu in page.actus %}
|
|
|
|
<article class="actu">
|
2017-08-26 18:05:20 +02:00
|
|
|
<h2><a href="{% pageurl actu %}">{{ actu.title }}</a></h2>
|
|
|
|
{% if actu.is_event %}
|
|
|
|
<p>{{ actu.chapo }}</p>
|
|
|
|
{% else %}
|
|
|
|
{{ actu.body|safe|truncatewords_html:25 }}
|
|
|
|
{% endif %}
|
|
|
|
<a href="{% pageurl actu %}">Lire plus ></a>
|
2017-08-19 01:32:26 +02:00
|
|
|
</article>
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|