{% if TWITTER_CARDS and USE_OPEN_GRAPH %}
{# Do not include duplicates tag with og ones. #}
{# Twitter is able to infer them from og. #}
{% if TWITTER_USERNAME %}
{% endif %}
{% if article %}
{% if article.og_image %}
{% elif OPEN_GRAPH_IMAGE %}
{% endif %}
{% elif page %}
{% if page.og_image %}
{% elif OPEN_GRAPH_IMAGE %}
{% endif %}
{% endif %}
{% endif %}