X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/f534e3e94d119d6baa2edebfd69e3d1ee055e57b..8d0195c5ca08c99f0b4a654904e5889ea212cffa:/notes/templates/note.html diff --git a/notes/templates/note.html b/notes/templates/note.html index 9eebd5c..d965325 100644 --- a/notes/templates/note.html +++ b/notes/templates/note.html @@ -1,7 +1,7 @@ -{% load markdownify %} -
-

{{ note.title }}

+{% load notes_extras %} + +

{{ note.title }}

{% if note.is_draft %}

Status: Draft

{% endif %} -
{{ note.content|linebreaksbr|markdownify }}
-

Published on {{ note.created_at|date:"Y-m-d, H:i" }}

+
{{ note.content|markdown|safe }}
+

Published on {{ note.publication_date|date:"Y-m-d, H:i" }}

\ No newline at end of file