5
0
mirror of https://git.coop/cotech/website.git synced 2024-12-25 03:45:25 +00:00
cotech-website/_includes/head.html

58 lines
3.2 KiB
HTML
Raw Normal View History

2017-07-01 12:36:32 +00:00
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2019-04-25 17:53:35 +00:00
{% if page.description %}
<meta name="description" content="{{ page.description | strip_html | strip_newlines | condense_spaces }}" />
{% elsif page.collection == 'coops' and page.content %}
<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." />
2019-04-25 13:20:35 +00:00
{% endif %}
2017-07-01 12:36:32 +00:00
<meta charset="UTF-8">
<title>{{ page.title }} &laquo; Cooperative Technologists</title>
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ page.title }}" />
2019-04-25 17:53:35 +00:00
{% if page.description %}
<meta property="og:description" content="{{ page.description | strip_html | strip_newlines }}" />
{% elsif page.collection == 'coops' and page.content %}
<meta property="og:description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" />
{% else %}
<meta property="og:description" content="Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." />
2019-04-25 13:20:35 +00:00
{% endif %}
<meta property="og:site_name" content="Cooperative Technologists" />
2019-04-25 15:07:16 +00:00
{% if page.collection == 'coops' %}
<meta property="og:image" content="/images/coops/{{ page.slug }}.png" />
2019-04-25 15:12:28 +00:00
{% elsif page.collection == 'services' %}
<meta property="og:image" content="/images/services/{{ page.slug }}.png" />
2019-04-25 15:12:28 +00:00
{% elsif page.collection == 'technologies' %}
<meta property="og:image" content="/images/technologies/{{ page.slug }}.png" />
2019-04-25 15:12:28 +00:00
{% elsif page.collection == 'clients' %}
<meta property="og:image" content="/images/clients/{{ page.slug }}.png" />
2019-04-25 15:12:28 +00:00
{% else %}
2019-04-25 15:30:35 +00:00
<meta property="og:image" content="/assets/img/Cotech_512x512.png" />
2019-04-25 15:12:28 +00:00
{% endif %}
<meta property="og:locale" content="en_GB" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@CotechUK" />
2019-04-25 14:50:34 +00:00
<meta name="twitter:image" content="/assets/img/Cotech_512x512.png" />
2017-07-01 12:36:32 +00:00
<link rel="canonical" href="{{ page.url | absolute_url }}" />
2019-04-25 14:50:34 +00:00
<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" />
<link rel="icon" href="/assets/img/cropped-cotech_512x512-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="/assets/img/cropped-cotech_512x512-180x180.png" />
<meta name="msapplication-TileImage" content="/assets/img/cropped-cotech_512x512-270x270.png" />
2017-07-01 12:36:32 +00:00
<style type="text/css" id="wp-custom-css">
section#contact div.row div p a:active,
section#contact div.row div p a:focus,
section#contact div.row div p a:hover {
text-decoration: underline;
color: white;
}
</style>
2019-04-25 14:50:34 +00:00
<link rel="stylesheet" href="/assets/foundation-icons/foundation-icons.css">
<link rel="icon" type="image/x-icon" href="/assets/img/CoTech-logo.png">
2017-07-01 12:36:32 +00:00
<script type="text/javascript">
window.mapboxAccessToken = '{{ site.mapbox_access_token }}';
2017-07-01 12:36:32 +00:00
</script>
</head>