summary refs log tree commit diff
path: root/templates/post.html
diff options
context:
space:
mode:
authorMatt Arnold2025-04-06 21:06:53 -0400
committerMatt Arnold2025-04-06 21:06:53 -0400
commitc26d3c09abea8aac5cdad752e23f19e5c8e98cd9 (patch)
tree2d4a2ad21ab4f5dfb33420a77f0b28b2b3b23c47 /templates/post.html
have gpt start us off
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..5a28b2b
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,8 @@
+{% extends 'base.html' %}
+
+{% block content %}
+    <h2>{{ post.title }}</h2>
+    <p>{{ post.created_at.strftime('%Y-%m-%d %H:%M') }}</p>
+    <div>{{ post.content }}</div>
+    <a href="{{ url_for('index') }}">Back to posts</a>
+{% endblock %}
\ No newline at end of file