This commit is contained in:
m
2026-03-14 19:46:41 +01:00
parent b03e46aa99
commit 2fb2e4f3d1
6 changed files with 29 additions and 57 deletions

5
app.py
View File

@@ -116,9 +116,12 @@ def post_detail(post_id):
return "Post not found", 404
#get comments
comments = get_comments_for_post(post_id)
if post["id"] == 8:
post["template"] = "components/christmas_post.html"
if post["id"] == 10:
post["template"] = "components/timeline_post.html"
post["template"] = "components/timeline.html"
post["timeline"] = """
<li class="tw-mb-10 tw-ml-10 tw-list-none tw-relative">
<button