Ajout du contenu de la page d'accueil

This commit is contained in:
Edgar P. Burkhart 2024-06-14 15:00:32 +02:00
parent cf6f1b6d65
commit 524bd9d737
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -1,6 +1,12 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load wagtailcore_tags %}
{% block content %} {% block content %}
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{% if page.body %}
<section>
{{ page.body|richtext }}
</section>
{% endif %}
<section> <section>
{% for link in page.links.all %}<a href="{{ link.link }}"><article>{{ link.title }}</article></a>{% endfor %} {% for link in page.links.all %}<a href="{{ link.link }}"><article>{{ link.title }}</article></a>{% endfor %}
</section> </section>