twitter metadata icon update #53

This commit is contained in:
Chris Croome 2019-04-25 16:12:28 +01:00
parent 545f63258f
commit 39b502ec03

View File

@ -18,9 +18,16 @@
{% endif %} {% endif %}
<meta property="og:site_name" content="Cooperative Technologists" /> <meta property="og:site_name" content="Cooperative Technologists" />
{% if page.collection == 'coops' %} {% if page.collection == 'coops' %}
<!-- img: /images/coops/{{ page.slug }} --> <meta property="og:image" content="/images/coops/{{ page.slug }}" />
{% endif %} {% elsif page.collection == 'services' %}
<meta property="og:image" content="/images/services/{{ page.slug }}" />
{% elsif page.collection == 'technologies' %}
<meta property="og:image" content="/images/technologies/{{ page.slug }}" />
{% elsif page.collection == 'clients' %}
<meta property="og:image" content="/images/clients/{{ page.slug }}" />
{% else %}
<meta property="og:image" content="/app/themes/coop-tech-oowp-theme/public/img/Cotech_512x512.png" /> <meta property="og:image" content="/app/themes/coop-tech-oowp-theme/public/img/Cotech_512x512.png" />
{% endif %}
<meta property="og:locale" content="en_GB" /> <meta property="og:locale" content="en_GB" />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@CotechUK" /> <meta name="twitter:site" content="@CotechUK" />