Minor changes
This commit is contained in:
parent
9dc342a774
commit
1c4e0d8044
1 changed files with 6 additions and 5 deletions
|
@ -11,10 +11,6 @@
|
||||||
{{ translations.entry_hreflang(article) }}
|
{{ translations.entry_hreflang(article) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if article.description %}
|
|
||||||
<meta name="description" content="{{ article.description }}" />
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% for tag in article.tags %}
|
{% for tag in article.tags %}
|
||||||
<meta name="tags" content="{{ tag }}" />
|
<meta name="tags" content="{{ tag }}" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -25,7 +21,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Twitter Card Things-->
|
<!-- Twitter Card Things-->
|
||||||
|
{% if article.photo_image %}
|
||||||
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
|
{% else %}
|
||||||
<meta name="twitter:card" content="summary" />
|
<meta name="twitter:card" content="summary" />
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if SOCIAL_TWIITER %}
|
{% if SOCIAL_TWIITER %}
|
||||||
<meta name="twitter:site" content="@{{ SOCIAL_TWIITER }}" />
|
<meta name="twitter:site" content="@{{ SOCIAL_TWIITER }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -33,7 +34,7 @@
|
||||||
{% if article.summary %}
|
{% if article.summary %}
|
||||||
<meta name="twitter:description" content="{{ article.summary|striptags }}" />
|
<meta name="twitter:description" content="{{ article.summary|striptags }}" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:description" content="Read the full post on The Digital Cat" />
|
<meta name="twitter:description" content="Read the full post at jeffmackinnon.com" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.photo_image %}
|
{% if article.photo_image %}
|
||||||
<meta name="twitter:image" content="{{ SITEURL }}/{{ article.photo_image[1] }}" />
|
<meta name="twitter:image" content="{{ SITEURL }}/{{ article.photo_image[1] }}" />
|
||||||
|
|
Loading…
Reference in a new issue