%}

    {%- elif page -%}
        {%- if page.extra.og_image -%}
        <meta property="og:image" content="{{ current_url ~ page.extra.og_image | trim }}"/>
        {%- elif config.extra.og_preview_img -%}
        <meta property="og:image" content="{{ get_url(path=config.extra.og_preview_img) }}"/>
        {%- endif -%}
    {%- endif -%}{# ./if section #}

{% endmacro og_preview %}

 {% macro twitter_preview() %}
    {%- if page -%}
    {% if page.extra.og_image %}
    <meta name="twitter:card" content="su