]> 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 22ea0e068aa39df1e0ff6c29d146c2494e2de552..b097c554d625c215736a0b09f05d140124d182bb 100644 (file)
@@ -4,9 +4,5 @@
 {% block title %}Notes - {{ note.title }}{% endblock %}
 
 {% block content %}
-  <article>
-    <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