From 305365d2cf18baf04cea7aec7a635d6eb6bc7165 Mon Sep 17 00:00:00 2001 From: Chris Croome Date: Thu, 25 Apr 2019 18:39:12 +0100 Subject: [PATCH] test fix for #53 --- _includes/head.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 7822a1b..ed7f14f 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,8 @@ -{% if page.excerpt != blank %} - -{% elsif page.collection == 'coops' and page.content != blank %} +{% if page.excerpt | strip_html | strip_newlines != blank %} + +{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines != blank %} {% else %} @@ -11,9 +11,9 @@ {{ page.title }} « Cooperative Technologists -{% if page.excerpt != blank %} - -{% elsif page.collection == 'coops' and page.content != blank %} +{% if page.excerpt | strip_html | strip_newlines != blank %} + +{% elsif page.collection == 'coops' and page.content | strip_html | strip_newlines != blank %} {% else %}