mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Substituted OG_IMAGE with META_IMAGE
This commit is contained in:
parent
f7794cae60
commit
9840bf45cb
@ -27,10 +27,10 @@
|
||||
{% if article.image %}
|
||||
<meta property="og:image" content="{{ article.image }}" />
|
||||
<meta name="twitter:image" content="{{ article.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 %}
|
||||
|
||||
{% endblock %}
|
||||
|
@ -24,10 +24,10 @@
|
||||
<meta property="og:description" content="{{ DESCRIPTION }}" />
|
||||
<meta name="twitter:description" content="{{ DESCRIPTION }}" />
|
||||
{% endif %}
|
||||
{% if 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 }}" />
|
||||
{% if 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 %}
|
||||
{% endblock %}
|
||||
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed"/>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ SITEURL }}" />
|
||||
<meta name="twitter:url" content="{{ SITEURL }}" />
|
||||
{% if 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 }}" />
|
||||
{% if 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 %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -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 }}" />
|
||||
|
Loading…
Reference in New Issue
Block a user