X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/5180f5cea6192febac98268fbf579e7031cf2e22..f253eb82624c454150771efb46b6d34595eb6183:/notes/templates/note_detail.html diff --git a/notes/templates/note_detail.html b/notes/templates/note_detail.html index 0862956..1fdfae9 100644 --- a/notes/templates/note_detail.html +++ b/notes/templates/note_detail.html @@ -1,19 +1,12 @@ +{% 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