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

debug test

This commit is contained in:
Chris Croome 2019-04-25 18:43:43 +01:00
parent 7c2701b97b
commit 2576ab601f

View File

@ -1,7 +1,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.excerpt | strip_html | strip_newlines != blank %}
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
<!-- page.excerpt: {{ page.excerpt }} --> <meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines != blank %}
<meta name="description" content="{{ page.content | strip_html | strip_newlines | condense_spaces | truncate:150 }}" />
{% else %}