Rework blog section

Wrok in bloc sectionn
This commit is contained in:
2025-12-05 23:20:36 +01:00
parent 0e282894a6
commit 57241b843b
13 changed files with 339 additions and 158 deletions

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title> Blog de {{ user }} </title>
<title> Article de {{ post_info.author }} </title>
<link rel="stylesheet" href="/static/blog.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -12,9 +12,11 @@
<h2 class="titre"> {{ post_info.title }} </h2>
<h5 class="titre">Publié le {{ post_info.time }} </h5>
<h2 class="description titre"> {{ post_info.subtitle }} </h2>
<h5 class="titre">Publié le : {{ post_info.creation_date }} </h5>
{% if post_info.last_updated %}
<h5 class="titre">Mis à jour le : {{ post_info.last_updated }} </h5>
{% endif %}
<h3 class="description titre"> {{ post_info.subtitle }} </h3>
<hr/>
{{ content|safe }}