--- /dev/null
+{% load markdownify %}
+<!DOCTYPE html>
+
+<html lang="en">
+<head>
+  <title>{% block title %}{% endblock %}</title>
+  <meta charset="UTF-8" />
+  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+</head>
+<body>
+
+{% block content %}{% endblock %}
+</body>
+</html>
\ No newline at end of file
 
+{% extends "note_base.html" %}
 {% load markdownify %}
-<!DOCTYPE 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 }}{% 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>
-
-</body>
-</html>
+{% endblock %}
\ No newline at end of file
 
+{% extends "note_base.html" %}
 {% load markdownify %}
-<!DOCTYPE html>
 
-<html lang="de">
-<head>
-  <title>Notes</title>
-  <meta charset="UTF-8" />
-  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-</head>
-<body>
+{% block title %}Notes{% endblock %}
 
+{% block content %}
     <h1>Notes</h1>
     {% for note in notes %}
     <h2>{{ note.title }}</h2>
     {% endfor %}
 
     <p>Number of notes: {{ notes_count }}</p>
-
-</body>
-</html>
+{% endblock %}
\ No newline at end of file