This commit is contained in:
Meekdai 2024-04-09 12:08:12 +08:00
parent 4959661d0b
commit d2aff31483
2 changed files with 2 additions and 5 deletions

View File

@ -140,7 +140,7 @@ class GMEEK():
postBase["description"]=issue["description"]
postBase["createdDate"]=issue["createdDate"]
postBase["author"]=self.blogBase["title"]
postBase["avatarUrl"]=self.blogBase["faviconUrl"]
postBase["image"]="https://github.com/Meekdai/meekdai.github.io/assets/11755104/b25f48ac-ca50-477c-83ca-c3bdb0b388ab"
postBase["postBody"]=post_body
postBase["commentNum"]=issue["commentNum"]
postBase["style"]=issue["style"]

View File

@ -6,10 +6,7 @@
<meta property="og:description" content="{{ blogBase['description'] }}">
<meta property="og:type" content="article">
<meta property="og:url" content="{{ blogBase['postUrl'] }}">
<meta property="og:image" content="{{ blogBase['avatarUrl'] }}" />
<meta property="og:image:type" content="image/svg+xml">
<meta property="og:image:width" content="64">
<meta property="og:image:height" content="64">
<meta property="og:image" content="{{ blogBase['image'] }}" />
<meta property="article:published_time" content="{{ blogBase['createdDate'] }}">
<meta property="article:author" content="{{ blogBase['author'] }}">
<title>{{ blogBase['postTitle'] }}</title>