Files
@ 3ae4cc99a7e2
Branch filter:
Location: CSY/sefm2020/themes/bootstrap3/templates/includes/twitter_cards.html - annotation
3ae4cc99a7e2
1.1 KiB
text/html
Adding committees and their members.
913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 913a26cb1708 | {% if TWITTER_CARDS and USE_OPEN_GRAPH %}
{# Do not include duplicates tag with og ones. #}
{# Twitter is able to infer them from og. #}
<meta name="twitter:dnt" content="on">
<meta name="twitter:card" content="summary">
{% if TWITTER_USERNAME %}
<meta name="twitter:site" content="@{{ TWITTER_USERNAME }}">
<meta name="twitter:creator" content="@{{ TWITTER_USERNAME }}">
{% endif %}
<meta name="twitter:domain" content="{{ SITEURL }}">
{% if article %}
{% if article.og_image %}
<meta property="twitter:image"
content="{{ SITEURL }}/{{ article.og_image }}"/>
{% elif OPEN_GRAPH_IMAGE %}
<meta property="twitter:image"
content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
{% endif %}
{% elif page %}
{% if page.og_image %}
<meta property="twitter:image"
content="{{ SITEURL }}/{{ page.og_image }}"/>
{% elif OPEN_GRAPH_IMAGE %}
<meta property="twitter:image"
content="{{ SITEURL }}/{{ OPEN_GRAPH_IMAGE }}"/>
{% endif %}
{% endif %}
{% endif %}
|