Move the intro text into the page template

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent 8fb1947891
commit bfdb82a4ba
3 changed files with 12 additions and 4 deletions

View file

@ -1 +1,9 @@
{% extends 'base' %}
{% block content_wrapper %}
{% if page.intro_text %}
<p class="max-w-lg">{{ page.intro_text }}</p>
{% endif %}
{{ parent() }}
{% endblock %}