michalvankodev-site/axum_server/templates/post.html

29 lines
685 B
HTML
Raw Normal View History

2024-01-11 22:16:38 +01:00
{% extends "base.html" %}
{% block title %}{{title}}{% endblock %}
{% block content %}
2024-03-02 13:12:55 +01:00
<article>
<header class="px-4">
<h1 class="text-3xl text-blue-900 mb-3">{{title}}</h1>
2024-03-03 19:39:28 +01:00
<aside class="flex justify-around flex-row">
<section class="">
{% for tag in tags %}
<a href="/blog/tags/{{tag}}" class="text-blue-700">#{{tag}}</a>
{% endfor %}
</section>
<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>
2024-03-02 13:12:55 +01:00
</header>
2024-01-11 22:16:38 +01:00
2024-03-02 13:12:55 +01:00
<section class="article-body">
{{body|escape("none")}}
</section>
</article>
2024-01-11 22:16:38 +01:00
{# footer #}
{% endblock %}