og:image
This commit is contained in:
parent
4959661d0b
commit
d2aff31483
2
Gmeek.py
2
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["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"]
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user