5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-22 10:35:24 +00:00

Assets location change

This commit is contained in:
ubuadmin 2019-04-25 16:37:41 +01:00
commit cfb5a106af
2 changed files with 12 additions and 6 deletions

View File

@ -52,10 +52,10 @@ technologies:
- centos
- express-js
- gitlab
- google-maps
- htmlcss
- java
- javascript
- laravel
- mysql
- nginx
- node-js

View File

@ -1,8 +1,8 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.excerpt %}
{% if page.excerpt and page.excerpt != "" %}
<meta name="description" content="{{ page.excerpt | strip_html }}" />
{% elsif page.content %}
{% elsif page.collection == 'coops' %}
<meta name="description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" />
{% else %}
<meta name="description" content="Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." />
@ -17,11 +17,17 @@
<meta property="og:description" content="Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." />
{% endif %}
<meta property="og:site_name" content="Cooperative Technologists" />
<meta property="og:image" content="/assets/img/Cotech_512x512.png" />
{% if page.collection == 'coops' %}
<!-- img: /images/coops/{{ page.slug }} -->
{% endif %}
<meta property="og:image" content="/images/coops/{{ page.slug }}" />
{% 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="/assets/img/Cotech_512x512.png" />
{% endif %}
<meta property="og:locale" content="en_GB" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@CotechUK" />