From 18339f611fd17e1300593edd65adf7604a39ad72 Mon Sep 17 00:00:00 2001
From: "Adam T. Carpenter"
Date: Sat, 14 Sep 2024 20:54:44 -0400
Subject: feat: working rudimentary blog presentation
---
templates/post.html | 19 ++++++++++++-------
templates/posts.html | 12 +++++++-----
2 files changed, 19 insertions(+), 12 deletions(-)
(limited to 'templates')
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 @@
-
-
-
-
+{% extends "base.html" %}
+
+{% block main %}
+
+ {{ post.get_title() }}
+
+
+
+
{{ post.get_article()|markdown }}
-
-
-
+
+
+{% endblock %}
diff --git a/templates/posts.html b/templates/posts.html
index 57d2480..0cb4cf1 100644
--- a/templates/posts.html
+++ b/templates/posts.html
@@ -1,13 +1,15 @@
{% extends "base.html" %}
{% block main %}
+
+
-
- {% for post in posts %}
- - {{ post.get_title() }}
- {% endfor %}
-
+ {% for post in posts %}
+
+ {% endfor %}
{% endblock %}
--
cgit v1.2.3