X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/d063502baa4a57159666cf9386aa1809f29fff22..bb41f36c58707df91ca96b39b41f51e98306aee7:/notes/templates/note.html?ds=inline diff --git a/notes/templates/note.html b/notes/templates/note.html index 1bce423..b2b7519 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.created_at|date:"Y-m-d, H:i" }}

\ No newline at end of file