2014-04-06 15:35:15 +02:00
|
|
|
|
|
|
|
<meta content="{{ site.name }}" property="og:site_name">
|
|
|
|
{% if page.title %}
|
|
|
|
<meta content="{{ page.title }}" property="og:title">
|
|
|
|
{% else %}
|
|
|
|
<meta content="{{ site.name }}" property="og:title">
|
|
|
|
{% endif %}
|
|
|
|
{% if page.title %}
|
|
|
|
<meta content="article" property="og:type">
|
2017-09-21 16:52:01 +02:00
|
|
|
<meta content="https://matthiaskretschmann.com" property="article:author">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% else %}
|
|
|
|
<meta content="website" property="og:type">
|
|
|
|
{% 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 %}
|
2015-06-20 00:23:59 +02:00
|
|
|
<meta content="{{ site.url}}{{ page.url | replace:'index.html','' }}" property="og:url">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if page.date %}
|
|
|
|
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
|
|
|
|
{% endif %}
|
|
|
|
{% if page.image %}
|
2014-09-02 21:13:58 +02:00
|
|
|
<meta content="{{ site.url }}/media/{{ page.image }}" property="og:image">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% else %}
|
2015-06-20 00:23:59 +02:00
|
|
|
<meta content="{{ site.url }}/assets/img/kremalicious1024.png" property="og:image">
|
2014-04-06 15:35:15 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if page.categories %}
|
|
|
|
{% for category in page.categories limit:1 %}
|
|
|
|
<meta content="{{ category }}" property="article:section">
|
|
|
|
{% endfor %}
|
2015-06-20 00:23:59 +02:00
|
|
|
{% endif %}
|