mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Substituted OG_IMAGE with META_IMAGE
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
{% if page.image %}
|
||||
<meta property="og:image" content="{{ page.image }}" />
|
||||
<meta name="twitter:image" content="{{ page.image }}" />
|
||||
{% elif OG_IMAGE %}
|
||||
<meta property="og:image" content="{{ OG_IMAGE }}" />
|
||||
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" />
|
||||
<meta name="twitter:image" content="{{ OG_IMAGE }}" />
|
||||
{% elif META_IMAGE %}
|
||||
<meta property="og:image" content="{{ META_IMAGE }}" />
|
||||
<meta property="og:image:type" content="{{ META_IMAGE_TYPE }}" />
|
||||
<meta name="twitter:image" content="{{ META_IMAGE }}" />
|
||||
{% endif %}
|
||||
{% if page.summary %}
|
||||
<meta property="og:description" content="{{ page.summary|striptags }}" />
|
||||
|
Reference in New Issue
Block a user