gestioCOF/gestioncof/cms/templates/cofcms/cof_actu_index_page.html

22 lines
537 B
HTML

{% extends "cofcms/base_aside.html" %}
{% load wagtailimages_tags cofcms_tags %}
{% block aside %}
{% calendar %}
{% endblock %}
{% 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">
<h2>{{ actu.title }}</h2>
{{ actu.body|safe }}
</article>
{% endfor %}
</section>
{% endblock %}