This commit is contained in:
jakimfett 2017-07-12 14:18:54 +00:00 committed by GitHub
commit d1aa69da9f
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@
<meta property="og:description" content="{{ SITEDESCRIPTION }}"/>
<meta property="og:locale" content="{{ default_locale }}"/>
<meta property="og:url" content="{{ SITEURL }}"/>
{% if OG_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}">
{% if SITELOGO %}
<meta property="og:image" content="{{ SITELOGO }}">
{% endif %}

View file

@ -18,6 +18,8 @@
{% endfor %}
{% if 'cover' in article.metadata %}
<meta property="og:image" content="{{ SITEURL }}/{{ article.metadata['cover'] }}">
{% if OG_IMAGE %}
<meta property="og:image" content="{{ OG_IMAGE }}">
{% else %}
<meta property="og:image" content="{{ SITELOGO }}">
{% endif %}