]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note_detail.html
Fixed some things in the templates
[pcdenotes.git] / notes / templates / note_detail.html
index 1fdfae99d044468a6c2a2bca6610bad72ff6f975..22ea0e068aa39df1e0ff6c29d146c2494e2de552 100644 (file)
@@ -1,12 +1,12 @@
 {% extends "note_base.html" %}
 {% load markdownify %}
 
-{% block title %}{{ note.title }}{% endblock %}
+{% block title %}Notes - {{ note.title }}{% endblock %}
 
 {% block content %}
-  <h1>{{ note.title }}</h1>
-
-  <div>{{ note.content|linebreaksbr|markdownify }}</div>
-  
-  <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
+  <article>
+    <h2>{{ note.title }}</h2>
+    {{ note.content|linebreaksbr|markdownify }}
+    <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
+  </article>
 {% endblock %}
\ No newline at end of file

patrick-canterino.de