]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note.html
Modified templates
[pcdenotes.git] / notes / templates / note.html
diff --git a/notes/templates/note.html b/notes/templates/note.html
new file mode 100644 (file)
index 0000000..0dbba54
--- /dev/null
@@ -0,0 +1,6 @@
+{% load markdownify %}
+<article class="container mt-5">
+    <h2><a href="{{ note.get_absolute_url }}" class="link-dark">{{ note.title }}</a></h2>
+    <div class="mt-3">{{ note.content|linebreaksbr|markdownify }}</div>
+    <p class="fst-italic" style="font-size: smaller;">Published on {{ note.created_at|date:"Y-m-d, H:i" }}</p>
+</article>
\ No newline at end of file

patrick-canterino.de