5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-21 22:33:05 +00:00

Merge branch 'master' of git.coop:cotech/website

This commit is contained in:
harry 2019-04-25 17:33:50 +01:00
commit 48fd167a01

View File

@ -1,8 +1,8 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.excerpt and page.excerpt != "" %}
{% if page.excerpt != blank %}
<meta name="description" content="{{ page.excerpt | strip_html }}" />
{% elsif page.collection == 'coops' %}
{% elsif page.collection == 'coops' and page.ontent != blank %}
<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." />