- <h1>{{ note.title }}</h1>
-
- <div>{{ note.content|linebreaksbr|markdownify }}</div>
-
- <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
-
-</body>
-</html>
+{% block content %}
+ <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