]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note.html
Added link to PCDENotes repository, made copyright note smaller
[pcdenotes.git] / notes / templates / note.html
index 0cc6e3d679cb48520b7530a32922a912171ef00b..b2b7519ebbed305b78603c975aa6d8cce17b7fd7 100644 (file)
@@ -1,7 +1,7 @@
-{% load markdownify %}
+{% 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 %}
 <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>
+    <div>{{ note.content|markdown|safe }}</div>
     <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
 </article>
\ No newline at end of file
     <p class="publication-date">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
 </article>
\ No newline at end of file

patrick-canterino.de