From 0d6816e770510177049acc47098a33f9934a9b20 Mon Sep 17 00:00:00 2001 From: Vincent Chu Date: Thu, 25 Aug 2016 12:15:23 -0400 Subject: [PATCH] Fix Liquid syntax error for offending parentheses Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/single.html Liquid Warning: Liquid syntax error (line 1): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/archive.html Liquid Warning: Liquid syntax error (line 3): Expected dotdot but found id in "(page.header.overlay_color or page.header.overlay_image) or page.header.image" in /_layouts/splash.html --- _layouts/archive.html | 2 +- _layouts/single.html | 2 +- _layouts/splash.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/archive.html b/_layouts/archive.html index 22f984c7..fe41fba8 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -2,7 +2,7 @@ layout: default --- -{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %} +{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% include page__hero.html %} {% endif %} diff --git a/_layouts/single.html b/_layouts/single.html index 3629aa62..54a18f0d 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -4,7 +4,7 @@ layout: default {% include base_path %} -{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %} +{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% include page__hero.html %} {% endif %} diff --git a/_layouts/splash.html b/_layouts/splash.html index 035fa2f2..d17d8fc7 100644 --- a/_layouts/splash.html +++ b/_layouts/splash.html @@ -4,7 +4,7 @@ layout: default {% include base_path %} -{% if (page.header.overlay_color or page.header.overlay_image) or page.header.image %} +{% if page.header.overlay_color or page.header.overlay_image or page.header.image %} {% include page__hero.html %} {% endif %}