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 %}
<div class="markdown">
{% if page.intro_text %} {% if page.intro_text %}
<p class="max-w-lg">{{ page.intro_text }}</p> <p class="max-w-lg">{{ page.intro_text }}</p>
{% endif %} {% endif %}
{{ parent() }} {{ parent() }}
</div>
{% endblock %} {% endblock %}