Merge aaf913659b
into f977cb353f
This commit is contained in:
commit
d1aa69da9f
2 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
<meta property="og:description" content="{{ SITEDESCRIPTION }}"/>
|
<meta property="og:description" content="{{ SITEDESCRIPTION }}"/>
|
||||||
<meta property="og:locale" content="{{ default_locale }}"/>
|
<meta property="og:locale" content="{{ default_locale }}"/>
|
||||||
<meta property="og:url" content="{{ SITEURL }}"/>
|
<meta property="og:url" content="{{ SITEURL }}"/>
|
||||||
|
{% if OG_IMAGE %}
|
||||||
|
<meta property="og:image" content="{{ OG_IMAGE }}">
|
||||||
{% if SITELOGO %}
|
{% if SITELOGO %}
|
||||||
<meta property="og:image" content="{{ SITELOGO }}">
|
<meta property="og:image" content="{{ SITELOGO }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if 'cover' in article.metadata %}
|
{% if 'cover' in article.metadata %}
|
||||||
<meta property="og:image" content="{{ SITEURL }}/{{ article.metadata['cover'] }}">
|
<meta property="og:image" content="{{ SITEURL }}/{{ article.metadata['cover'] }}">
|
||||||
|
{% if OG_IMAGE %}
|
||||||
|
<meta property="og:image" content="{{ OG_IMAGE }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta property="og:image" content="{{ SITELOGO }}">
|
<meta property="og:image" content="{{ SITELOGO }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue