X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/f534e3e94d119d6baa2edebfd69e3d1ee055e57b..47224b91ae3e01117f734fe9e22067c22e882b88:/notes/templates/note.html?ds=inline

diff --git a/notes/templates/note.html b/notes/templates/note.html
index 9eebd5c..60353b1 100644
--- a/notes/templates/note.html
+++ b/notes/templates/note.html
@@ -1,7 +1,7 @@
-{% load markdownify %}
-<article class="container mt-5{% if note.is_draft %} text-muted{% endif %}">
-    <h2><a href="{{ note.get_absolute_url }}" class="{% if note.is_draft %}text-muted{% else %}link-dark{% endif %}">{{ note.title }}</a></h2>
+{% load notes_extras %}
+<article{% if note.is_draft %} class="text-muted"{% endif %}>
+    <h2><a href="{{ note.get_absolute_url }}"{% if note.is_draft %} class="text-muted"{% endif %}>{{ note.title }}</a></h2>
     {% if note.is_draft %}<p class="fw-bold">Status: Draft</p>{% endif %}
-    <div class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
-    <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
+    <div>{{ note.content|markdown|safe }}</div>
+    <p class="publication-date">Published on {{ note.publication_date|date:"Y-m-d, H:i O" }}</p>
 </article>
\ No newline at end of file