From 1537804e3e18edd32f1ca06a6b48a5ce9dec07e6 Mon Sep 17 00:00:00 2001 From: Rohit Vishwakarma Date: Thu, 5 Dec 2024 11:25:50 +0530 Subject: [PATCH] added open graph tags --- routes/post.py | 1 + templates/tailwindUI/post.html.jinja | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/routes/post.py b/routes/post.py index 53f93c0..63c6af8 100755 --- a/routes/post.py +++ b/routes/post.py @@ -165,6 +165,7 @@ def post(urlID): form=form, comments=comments, appName=APP_NAME, + blogPostUrl = request.root_url ) case False: diff --git a/templates/tailwindUI/post.html.jinja b/templates/tailwindUI/post.html.jinja index 76d9d20..d65d19c 100755 --- a/templates/tailwindUI/post.html.jinja +++ b/templates/tailwindUI/post.html.jinja @@ -1,6 +1,16 @@ {% extends 'layout.html.jinja' %} {% block head %} {{ title }} + + + + + + + + + + {% endblock head %} {% block body %}