From 12a7b251d6a1cd9ec08853a98c1cd300da9aa4c9 Mon Sep 17 00:00:00 2001 From: Chris Croome Date: Thu, 25 Apr 2019 18:47:48 +0100 Subject: [PATCH] test fix for #53 --- _includes/head.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 8237e95..2a1e710 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,8 @@ -{% if page.excerpt | strip_html | strip_newlines != blank %} - -{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines != blank %} +{% if page.excerpt | strip_html | strip_newlines | condense_spaces != "" %} + +{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines | condense_spaces | truncate:150 != "" %} {% else %} @@ -11,9 +11,9 @@ {{ page.title }} « Cooperative Technologists -{% if page.excerpt | strip_html | strip_newlines != blank %} +{% if page.excerpt | strip_html | strip_newlines | condense_spaces != "" %} -{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines != blank %} +{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines | condense_spaces | truncate:150 != "" %} {% else %}