2017-08-20 00:39:19 +02:00
|
|
|
{% extends "cofcms/base_aside.html" %}
|
|
|
|
{% load static cofcms_tags wagtailimages_tags %}
|
2017-08-19 01:32:26 +02:00
|
|
|
|
2017-08-20 00:39:19 +02:00
|
|
|
{% block aside %}
|
|
|
|
{% calendar %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="intro">
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
<div>{{ page.introduction|safe }}</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="actuhome">
|
|
|
|
{% for actu in page.actus %}
|
2017-08-22 00:58:18 +02:00
|
|
|
<article class="actu">
|
|
|
|
<div class="actu-header">
|
2017-08-20 00:39:19 +02:00
|
|
|
{% if actu.image %}
|
|
|
|
{% image actu.image fill-400x200 class="actu-img" %}
|
|
|
|
{% endif %}
|
2017-08-22 00:58:18 +02:00
|
|
|
<h2>{{ actu.title }}</h2>
|
|
|
|
</div>
|
|
|
|
{% if actu.is_event %}
|
|
|
|
<div class="actu-misc">
|
|
|
|
<span class="actu-minical">{% mini_calendar actu %}</span>{{ actu.dates }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</article>
|
2017-08-20 00:39:19 +02:00
|
|
|
{% endfor %}
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|