X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/083b6653f96bcbbea1328090e4775b055ab01c03..e74a5d637e542676af6d4c9c6afe4139e83f4e6b:/notes/templates/note.html diff --git a/notes/templates/note.html b/notes/templates/note.html index 0dbba54..b2b7519 100644 --- a/notes/templates/note.html +++ b/notes/templates/note.html @@ -1,6 +1,7 @@ -{% load markdownify %} -
-

{{ note.title }}

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

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

+{% load notes_extras %} + +

{{ note.title }}

+ {% if note.is_draft %}

Status: Draft

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

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

\ No newline at end of file