Ajout du contenu de la page d'accueil
This commit is contained in:
parent
cf6f1b6d65
commit
524bd9d737
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue