fix: automatically format markdown on pages

This commit is contained in:
Oliver Davies 2021-09-17 18:44:00 +01:00
parent a3bdc7d879
commit ba43e5f1b8

View file

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