2015-12-20 05:22:45 +01:00
|
|
|
<meta content="website" property="og:type">
|
|
|
|
<meta content="{{ site.name }}" property="og:site_name">
|
|
|
|
|
|
|
|
{% if page.title %}
|
2015-12-23 14:00:35 +01:00
|
|
|
<meta content="{{ page.title }} • • {{ site.name }}" property="og:title">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% else %}
|
2015-12-23 14:00:35 +01:00
|
|
|
<meta content="{{ site.name }} • • {{ site.description }}" property="og:title">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.description %}
|
|
|
|
<meta content="{{ page.description }}" property="og:description">
|
|
|
|
{% elsif page.front_page %}
|
|
|
|
<meta content="{{ site.description }}" property="og:description">
|
|
|
|
{% else %}
|
|
|
|
<meta content="{{ page.excerpt | strip_html | strip_newlines }}" property="og:description">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.url %}
|
|
|
|
<meta content="{{ site.url}}{{ page.url | replace:'index.html','' }}" property="og:url">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.date %}
|
|
|
|
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.image %}
|
|
|
|
<meta content="{{ site.url }}/assets/img/{{ page.image }}" property="og:image">
|
|
|
|
{% else %}
|
2017-02-07 23:42:18 +01:00
|
|
|
<meta content="{{ site.url }}/assets/img/share-image.jpg" property="og:image">
|
2015-12-20 05:22:45 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page.categories %}
|
|
|
|
{% for category in page.categories limit:1 %}
|
|
|
|
<meta content="{{ category }}" property="article:section">
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|