Add locale in og metadata

Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
Harry Chen 2021-08-03 21:14:19 +08:00
parent fa4a115c40
commit 964cb707d4
No known key found for this signature in database
GPG Key ID: 9F98D3E7C18D0378

View File

@ -16,6 +16,7 @@
<meta property="og:description" content="{{ page_desc }}" />
<meta property="og:image" content="{{ site.url }}{{ site.baseurl }}/static/img/logo-share.png" /> <!-- WeChat requires that thumbnail image is larger than 300x300 -->
<meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
<meta property="og:locale" content="zh_CN" />
{% if include.notArticle %}
<meta property="og:type" content="website" />
{% else %}