fix: automatically format markdown on pages
This commit is contained in:
parent
a3bdc7d879
commit
ba43e5f1b8
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue