kpsul/gestioncof/cms/templates/cofcms/cof_root_page.html

27 lines
727 B
HTML
Raw Normal View History

{% extends "cofcms/base_aside.html" %}
{% load static cofcms_tags wagtailimages_tags %}
{% 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 %}
{% if actu.is_event %}
<article class="actu">
<h2>{{ actu.title }}</h2>
{% if actu.image %}
{% image actu.image fill-400x200 class="actu-img" %}
{% endif %}
</article>
{% endif %}
{% endfor %}
</section>
{% endblock %}