mirror of
https://git.coop/cotech/website.git
synced 2024-12-03 10:53:06 +00:00
Attempt to fix Twitter images for #53
This commit is contained in:
parent
5ae079ff92
commit
ab6e60649f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
_site
|
||||
.idea
|
||||
vendor
|
||||
*.swp
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
title: Cotech Website
|
||||
timezone: UTC
|
||||
site: https://www.coops.tech
|
||||
exclude:
|
||||
- scripts
|
||||
- vendor
|
||||
|
@ -33,8 +33,18 @@
|
||||
<meta property="og:locale" content="en_GB" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="@CotechUK" />
|
||||
<meta name="twitter:image" content="/assets/img/Cotech_512x512.png" />
|
||||
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
||||
{% if page.collection == 'coops' %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/images/coops/{{ page.slug }}.png" />
|
||||
{% elsif page.collection == 'services' %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/images/services/{{ page.slug }}.png" />
|
||||
{% elsif page.collection == 'technologies' %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/images/technologies/{{ page.slug }}.png" />
|
||||
{% elsif page.collection == 'clients' %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/images/clients/{{ page.slug }}.png" />
|
||||
{% else %}
|
||||
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/Cotech_512x512.png" />
|
||||
{% endif %}
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url | absolute_url }}" />
|
||||
<link rel='stylesheet' id='app-css' href='/assets/css/app.css?ver=4.8' type='text/css' media='all' />
|
||||
<script type='text/javascript' src='/assets/js/vendor.js?ver=4.8'></script>
|
||||
<link rel="icon" href="/assets/img/cropped-cotech_512x512-32x32.png" sizes="32x32" />
|
||||
|
Loading…
Reference in New Issue
Block a user