5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-23 07:03:06 +00:00

metadata tweaks for #53

This commit is contained in:
Chris Croome 2019-06-05 11:30:36 +01:00
parent cb60447433
commit 0914a852d6
2 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,7 @@
--- ---
title: Cotech Website title: CoTech
long_title: Cooperative Technologists
description: Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership.
timezone: UTC timezone: UTC
url: https://www.coops.tech url: https://www.coops.tech
exclude: exclude:

View File

@ -5,20 +5,20 @@
{% elsif page.collection == 'coops' and page.content %} {% elsif page.collection == 'coops' and page.content %}
<meta name="description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" /> <meta name="description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" />
{% else %} {% else %}
<meta name="description" content="Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." /> <meta name="description" content="{{ site.description }}" />
{% endif %} {% endif %}
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>{{ page.title }} &laquo; Cooperative Technologists</title> <title>{{ page.title }} &laquo; {{ site.long_title }}</title>
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:title" content="{{ page.title }}" /> <meta property="og:title" content="{{ page.title }} &laquo; {{ site.title }} &laquo; {{ site.long_title }}" />
{% if page.description %} {% if page.description %}
<meta property="og:description" content="{{ page.description | strip_html | strip_newlines }}" /> <meta property="og:description" content="{{ page.description | strip_html | strip_newlines }}" />
{% elsif page.collection == 'coops' and page.content %} {% elsif page.collection == 'coops' and page.content %}
<meta property="og:description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" /> <meta property="og:description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" />
{% else %} {% else %}
<meta property="og:description" content="Cooperative Technologists (CoTech) are building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." /> <meta property="og:description" content="{{ site.description }}" />
{% endif %} {% endif %}
<meta property="og:site_name" content="Cooperative Technologists" /> <meta property="og:site_name" content="{{ page.title }} &laquo; {{ site.long_title }}" />
{% if page.collection == 'coops' %} {% if page.collection == 'coops' %}
<meta property="og:image" content="/images/coops/{{ page.slug }}.png" /> <meta property="og:image" content="/images/coops/{{ page.slug }}.png" />
{% elsif page.collection == 'services' %} {% elsif page.collection == 'services' %}