mirror of
https://git.coop/cotech/website.git
synced 2024-11-25 08:03:06 +00:00
Fix for non-coop pages #53
This commit is contained in:
parent
6f2865d878
commit
79d4adc310
@ -2,7 +2,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt %}
|
||||||
<meta name="description" content="{{ page.excerpt | strip_html }}" />
|
<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 }}" />
|
<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="Building a tech industry that's better for its workers and customers through co-operation, democracy and worker ownership." />
|
||||||
|
Loading…
Reference in New Issue
Block a user