Install et HTMLization de markdown pour les articles de blog

This commit is contained in:
2022-07-05 05:41:20 +02:00
parent eda47f57a6
commit 489ec21bc4
7 changed files with 47 additions and 21 deletions

View File

@@ -26,7 +26,9 @@
<div class="col-sm-10">
<h6>{{ post.time }}</h6>
<h2>{{ post.title }}</h2>
<p>{{ post.content }}<br><h6>Auteur : {{ post.author }}</h6></p>
{{ post.content|safe }}
<br><h6>Auteur : {{ post.author }}</h6>
</div>
<div class="col-sm-1">
{% if post.author == session['username'] %}