From 4959661d0bcfdbb18f23cc467b7cb6bf4b31a255 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 9 Apr 2024 11:54:48 +0800 Subject: [PATCH] og:image --- Gmeek.py | 2 +- templates/post.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Gmeek.py b/Gmeek.py index 3f565d8..850b1cc 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -140,7 +140,7 @@ class GMEEK(): postBase["description"]=issue["description"] postBase["createdDate"]=issue["createdDate"] postBase["author"]=self.blogBase["title"] - postBase["avatarUrl"]=self.blogBase["avatarUrl"] + postBase["avatarUrl"]=self.blogBase["faviconUrl"] postBase["postBody"]=post_body postBase["commentNum"]=issue["commentNum"] postBase["style"]=issue["style"] diff --git a/templates/post.html b/templates/post.html index 4020dde..d66a0a8 100644 --- a/templates/post.html +++ b/templates/post.html @@ -8,6 +8,8 @@ + + {{ blogBase['postTitle'] }}