diff --git a/templates/base.html b/templates/base.html index 074054bc7934a26ce6e29a1e8f0cdf2f6640023e..dfe0d3add4cbe3aac21352e9d72b2ca219b2f028 100644 --- a/templates/base.html +++ b/templates/base.html @@ -25,7 +25,7 @@ <meta property="og:type" content="{% block og_type %}{{ thing.extra.og.type | default(value='article') }}{% endblock og_type %}" /> <meta property="og:url" content="{% block og_url %}{{ thing.permalink | safe }}{% endblock og_url %}" /> {% if thing.extra.depiction %} - <meta property="og:image" content="{{ get_url(path="@/" ~ thing.relative_path, trailing_slash=true, lang=lang) }}{{ thing.extra.depiction.image | safe }}" /> <meta property="og:image:alt" content="{{ thing.extra.depiction.alt }}" /> + <meta property="og:image" content="{{ get_url(path="@/" ~ thing.relative_path, trailing_slash=true) }}{{ thing.extra.depiction.image | safe }}" /> <meta property="og:image:alt" content="{{ thing.extra.depiction.alt }}" /> {% elif config.extra.og.image %} <meta property="og:image" content="{{ get_url(path=config.extra.og.image.url) }}" /> <meta property="og:image:alt" content="{{ config.extra.og.image.alt }}" />