Removed old block

This commit is contained in:
carpetscheme 2020-09-13 21:40:17 +02:00
parent 762399f920
commit d47c90b82f

View file

@ -6,7 +6,6 @@
{% block ogtitle %}{{ page.title }}{% endblock ogtitle %} {% block ogtitle %}{{ page.title }}{% endblock ogtitle %}
{% block ogdesc %}{{ page.description }}{% endblock ogdesc %} {% block ogdesc %}{{ page.description }}{% endblock ogdesc %}
{% block ogurl %}{{ page.permalink | safe }}{% endblock ogurl%} {% block ogurl %}{{ page.permalink | safe }}{% endblock ogurl%}
{% if page.extra.ogimage %}{% block ogimage %}hello! {% endblock ogimage %}{% endif %}
{% block ogimage -%} {% block ogimage -%}
{%- if page.extra.image -%}{{ get_url(path=page.extra.image) | safe }} {%- if page.extra.image -%}{{ get_url(path=page.extra.image) | safe }}
{%- elif config.extra.ogimage -%}{{ get_url(path=config.extra.ogimage) | safe }} {%- elif config.extra.ogimage -%}{{ get_url(path=config.extra.ogimage) | safe }}