refactor modules

This commit is contained in:
2024-08-07 13:18:13 +02:00
parent 6dc6a581e3
commit 5365cb5409
24 changed files with 139 additions and 130 deletions

View File

@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block title %}{{title}}{% endblock %}
{% block content %}
<article>
<header class="px-4">
<h1 class="text-3xl text-blue-900 mb-3 font-semibold">{{title}}</h1>
<aside class="flex justify-between flex-row">
{% include "post_tag_list.html" %}
<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>
</aside>
</header>
<section class="article-body">
{{body|escape("none")}}
</section>
</article>
{# footer #}
{% endblock %}