summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2024-09-14 20:54:44 -0400
committerAdam T. Carpenter <atc@53hor.net>2024-09-14 20:54:44 -0400
commit18339f611fd17e1300593edd65adf7604a39ad72 (patch)
tree3f5238afaf4cac98640a50b9b7954be7bbfbe3f6 /templates/post.html
parent9f341d439f7aa5fd2365024169ead2d6bdc3210c (diff)
downloadcarpentertutoring-18339f611fd17e1300593edd65adf7604a39ad72.tar.xz
carpentertutoring-18339f611fd17e1300593edd65adf7604a39ad72.zip
feat: working rudimentary blog presentation
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html19
1 files changed, 12 insertions, 7 deletions
diff --git a/templates/post.html b/templates/post.html
index 8346f16..3155c7a 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,8 +1,13 @@
-<!DOCTYPE html>
-<html>
- <body>
- <article>
+{% extends "base.html" %}
+
+{% block main %}
+<section class="banner">
+ <h1>{{ post.get_title() }}</h1>
+</section>
+
+<section class="quiet">
+ <article>
{{ post.get_article()|markdown }}
- </article>
- </body>
-</html>
+ </article>
+</section>
+{% endblock %}