Use PNG not conneg for OG metedata image #53

This commit is contained in:
Chris Croome 2019-04-25 18:59:05 +01:00
parent 6de1586824
commit b133a7094f

View File

@ -20,13 +20,13 @@
{% endif %}
<meta property="og:site_name" content="Cooperative Technologists" />
{% if page.collection == 'coops' %}
<meta property="og:image" content="/images/coops/{{ page.slug }}" />
<meta property="og:image" content="/images/coops/{{ page.slug }}.png" />
{% elsif page.collection == 'services' %}
<meta property="og:image" content="/images/services/{{ page.slug }}" />
<meta property="og:image" content="/images/services/{{ page.slug }}.png" />
{% elsif page.collection == 'technologies' %}
<meta property="og:image" content="/images/technologies/{{ page.slug }}" />
<meta property="og:image" content="/images/technologies/{{ page.slug }}.png" />
{% elsif page.collection == 'clients' %}
<meta property="og:image" content="/images/clients/{{ page.slug }}" />
<meta property="og:image" content="/images/clients/{{ page.slug }}.png" />
{% else %}
<meta property="og:image" content="/assets/img/Cotech_512x512.png" />
{% endif %}