Substituted OG_IMAGE with META_IMAGE

This commit is contained in:
Luca Chiricozzi 2015-01-02 00:56:46 +01:00
parent f7794cae60
commit 9840bf45cb
4 changed files with 16 additions and 16 deletions

View File

@ -27,10 +27,10 @@
{% if article.image %} {% if article.image %}
<meta property="og:image" content="{{ article.image }}" /> <meta property="og:image" content="{{ article.image }}" />
<meta name="twitter:image" content="{{ article.image }}" /> <meta name="twitter:image" content="{{ article.image }}" />
{% elif OG_IMAGE %} {% elif META_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}" /> <meta property="og:image" content="{{ META_IMAGE }}" />
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" /> <meta property="og:image:type" content="{{ META_IMAGE_TYPE }}" />
<meta name="twitter:image" content="{{ OG_IMAGE }}" /> <meta name="twitter:image" content="{{ META_IMAGE }}" />
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -24,10 +24,10 @@
<meta property="og:description" content="{{ DESCRIPTION }}" /> <meta property="og:description" content="{{ DESCRIPTION }}" />
<meta name="twitter:description" content="{{ DESCRIPTION }}" /> <meta name="twitter:description" content="{{ DESCRIPTION }}" />
{% endif %} {% endif %}
{% if OG_IMAGE %} {% if META_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}" /> <meta property="og:image" content="{{ META_IMAGE }}" />
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" /> <meta property="og:image:type" content="{{ META_IMAGE_TYPE }}" />
<meta name="twitter:image" content="{{ OG_IMAGE }}" /> <meta name="twitter:image" content="{{ META_IMAGE }}" />
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed"/> <link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed"/>

View File

@ -3,10 +3,10 @@
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="{{ SITEURL }}" /> <meta property="og:url" content="{{ SITEURL }}" />
<meta name="twitter:url" content="{{ SITEURL }}" /> <meta name="twitter:url" content="{{ SITEURL }}" />
{% if OG_IMAGE %} {% if META_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}" /> <meta property="og:image" content="{{ META_IMAGE }}" />
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" /> <meta property="og:image:type" content="{{ META_IMAGE_TYPE }}" />
<meta name="twitter:image" content="{{ OG_IMAGE }}" /> <meta name="twitter:image" content="{{ META_IMAGE }}" />
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -10,10 +10,10 @@
{% if page.image %} {% if page.image %}
<meta property="og:image" content="{{ page.image }}" /> <meta property="og:image" content="{{ page.image }}" />
<meta name="twitter:image" content="{{ page.image }}" /> <meta name="twitter:image" content="{{ page.image }}" />
{% elif OG_IMAGE %} {% elif META_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}" /> <meta property="og:image" content="{{ META_IMAGE }}" />
<meta property="og:image:type" content="{{ OG_IMAGE_TYPE }}" /> <meta property="og:image:type" content="{{ META_IMAGE_TYPE }}" />
<meta name="twitter:image" content="{{ OG_IMAGE }}" /> <meta name="twitter:image" content="{{ META_IMAGE }}" />
{% endif %} {% endif %}
{% if page.summary %} {% if page.summary %}
<meta property="og:description" content="{{ page.summary|striptags }}" /> <meta property="og:description" content="{{ page.summary|striptags }}" />