diff --git a/app.py b/app.py index 1c9570b..80e77c5 100644 --- a/app.py +++ b/app.py @@ -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"] = """