X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/3fb7b9dea69252f64ee82967dfca97baf1b02df7..fe47fe6ff28499397c96779b13c8878c052e7e26:/notes/templates/note_detail.html

diff --git a/notes/templates/note_detail.html b/notes/templates/note_detail.html
index 0862956..d15296d 100644
--- a/notes/templates/note_detail.html
+++ b/notes/templates/note_detail.html
@@ -1,19 +1,7 @@
-{% load markdownify %}
-<!DOCTYPE html>
+{% extends "note_base.html" %}
 
-<html lang="de">
-<head>
-  <title>{{ note.title }}</title>
-  <meta charset="UTF-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-</head>
-<body>
+{% block title %}{{ note.title }} – Notes{% endblock %}
 
-  <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 %}
+{% include "note.html" %}
+{% endblock %}
\ No newline at end of file