s/excerpt/description/ #53

This commit is contained in:
Chris Croome 2019-04-25 18:53:35 +01:00
parent 12a7b251d6
commit 6de1586824
4 changed files with 11 additions and 11 deletions

View File

@ -1,8 +1,8 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page.excerpt | strip_html | strip_newlines | condense_spaces != "" %}
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | condense_spaces }}" />
{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines | condense_spaces | truncate:150 != "" %}
{% 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." />
@ -11,9 +11,9 @@
<title>{{ page.title }} &laquo; Cooperative Technologists</title>
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ page.title }}" />
{% if page.excerpt | strip_html | strip_newlines | condense_spaces != "" %}
<meta property="og:description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines | condense_spaces | truncate:150 != "" %}
{% 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." />

View File

@ -17,8 +17,8 @@
<div class="small-12 small-centered columns">
<img src="/images/services/{{ page.slug }}.png" alt="">
<h1>Coops that offer <span>{{ page.name }}</span></h1>
{% if page.excerpt %}
<p>{{ page.excerpt }}</p>
{% if page.description %}
<p>{{ page.description }}</p>
{% endif %}
</div>
</div>

View File

@ -17,8 +17,8 @@
<div class="small-12 small-centered columns">
<img src="/images/technologies/{{ page.slug }}" alt="{{ page.name }}">
<h1>Coops that use <span>{{ page.name }}</span></h1>
{% if page.excerpt %}
<p>{{ page.excerpt }}</p>
{% if page.description %}
<p>{{ page.description }}</p>
{% endif %}
</div>
</div>

View File

@ -1,5 +1,5 @@
---
title: Virtual Servers
name: Virtual Servers
excerpt: CoTech co-operatives who provide virtual servers to clients.
description: CoTech co-operatives who provide virtual servers to clients.
---