mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:20:05 +08:00
Fix twitter cards
This commit is contained in:
parent
f2ed183235
commit
bb2576a305
@ -15,10 +15,19 @@
|
||||
<meta property="og:title" content="{{ page.title }} | SpaceVim" />
|
||||
<meta property="og:description" content="{{ page.description }}" />
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
||||
<meta property="og:image" content="{{ page.image | default: site.image }}" />
|
||||
<meta
|
||||
property="og:image"
|
||||
content="{{ page.image | default: site.image }}"
|
||||
/>
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:site" content="@SpaceVim" />
|
||||
<meta property="twitter:creator" content="@wsdtty" />
|
||||
<meta
|
||||
name="twitter:image:src"
|
||||
content="{{ page.image | default: site.image }}"
|
||||
/>
|
||||
<meta name="twitter:title" content="{{ page.title }} | SpaceVim" />
|
||||
<meta name="twitter:description" content="{{ page.description }}" />
|
||||
{% if page.lang == "zh" %}
|
||||
<script
|
||||
type="text/javascript"
|
||||
|
Loading…
Reference in New Issue
Block a user