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
1 changed files with 6 additions and 0 deletions

View File

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