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

title metadata tweak for #53

This commit is contained in:
Chris Croome 2019-06-05 11:47:19 +01:00
parent 0914a852d6
commit ab75dc95fb

View File

@ -10,7 +10,11 @@
<meta charset="UTF-8">
<title>{{ page.title }} &laquo; {{ site.long_title }}</title>
<meta property="og:type" content="website" />
{% if page.layout == "home" %}
<meta property="og:title" content="{{ page.title }} &laquo; {{ site.long_title }}" />
{% else %}
<meta property="og:title" content="{{ page.title }} &laquo; {{ site.title }} &laquo; {{ site.long_title }}" />
{% endif %}
{% if page.description %}
<meta property="og:description" content="{{ page.description | strip_html | strip_newlines }}" />
{% elsif page.collection == 'coops' and page.content %}