post parsing with different comrak

This commit is contained in:
2024-03-02 13:12:55 +01:00
parent 4fd4373ed0
commit 49b92088b7
8 changed files with 188 additions and 130 deletions

View File

@ -3,9 +3,19 @@
{% block title %}{{title}}{% endblock %}
{% block content %}
<h1>{{title}}</h1>
<article>
<header class="px-4">
<h1 class="text-3xl text-blue-900 mb-3">{{title}}</h1>
<section class="created-at m-1 text-right text-sm text-gray-600">
<span>Published on</span>
<time datetime="{date}"> {{date|pretty_date}} </time>
</section>
</header>
<article>{{body|escape("none")}}</article>
<section class="article-body">
{{body|escape("none")}}
</section>
</article>
{# footer #}
{% endblock %}