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: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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue