]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note_detail.html
Do pagination only if there is more than one page
[pcdenotes.git] / notes / templates / note_detail.html
index f760e4b330e16d5e5d078e93ec85f1a1cd4d8a11..b097c554d625c215736a0b09f05d140124d182bb 100644 (file)
@@ -4,9 +4,5 @@
 {% block title %}Notes - {{ note.title }}{% endblock %}
 
 {% block content %}
-  <article class="container mt-5">
-    <h2>{{ note.title }}</h2>
-    {{ note.content|linebreaksbr|markdownify }}
-    <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
-  </article>
+{% include "note.html" %}
 {% endblock %}
\ No newline at end of file

patrick-canterino.de