Allow disabling the share preview card (fixes #122)
This commit is contained in:
@ -119,6 +119,8 @@
|
||||
<meta property="og:title" content="{% include 'partials/title.html' %}" />
|
||||
<meta property="og:url" content="{{ current_url | default(value='/') | safe }}" />
|
||||
<meta property="og:description" content="{% include 'partials/description.html' %}" />
|
||||
<meta property="og:image" content="{% include 'partials/card.html' %}" />
|
||||
{%- if config.extra.card is not defined or config.extra.card != false -%}
|
||||
<meta property="og:image" content="{% include 'partials/card.html' %}" />
|
||||
{%- endif -%}
|
||||
<meta property="og:locale" content="{{ macros_translate::translate(key='date_locale', default='en_US', language_strings=language_strings) }}" />
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user