michalvankodev-site/axum_server/templates/blog_post.html

28 lines
749 B
HTML
Raw Normal View History

2024-01-11 22:16:38 +01:00
{% extends "base.html" %}
{% block title %}{{title}}{% endblock %}
{% block content %}
2024-09-10 21:58:57 +02:00
<article class="mb-6">
<header class="px-4 max-w-read mx-auto">
2024-09-18 18:36:54 +02:00
<h1 class="text-3xl md:text-4xl lg:text-6xl lg:mt-20 text-blue-900 mb-3 font-bold">{{title}}</h1>
2024-03-13 19:14:10 +01:00
<aside class="flex justify-between flex-row">
{% include "post_tag_list.html" %}
2024-09-20 11:51:29 +02:00
<section class="created-at m-1 text-right text-sm text-slate-600 md:text-lg">
2024-03-03 19:39:28 +01:00
<span>Published on</span>
<time datetime="{date}"> {{date|pretty_date}} </time>
</section>
</aside>
2024-03-02 13:12:55 +01:00
</header>
2024-01-11 22:16:38 +01:00
2024-09-10 21:58:57 +02:00
<section class="article-body">
{{body|escape("none")}}
</section>
2024-03-02 13:12:55 +01:00
</article>
2024-01-11 22:16:38 +01:00
2024-09-10 21:58:57 +02:00
<!-- TODO: Next recommendations for reading -->
2024-09-20 12:35:30 +02:00
<!-- TODO: Bact to all posts -->
2024-09-10 21:58:57 +02:00
2024-01-11 22:16:38 +01:00
{# footer #}
{% endblock %}