From 851abeedc99c4337f7bd4f4c8b2faa6ea92b6d74 Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Thu, 17 Jun 2021 13:02:38 -0400
Subject: [PATCH] ISTWCMS-4704: fixing featured image on node

---
 uw_fdsu_theme_resp.theme | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme
index 97e363de..83c8f97c 100644
--- a/uw_fdsu_theme_resp.theme
+++ b/uw_fdsu_theme_resp.theme
@@ -398,9 +398,9 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) {
   // If we do then, set variable to not show page title.
   if ($variables['plugin_id'] == 'page_title_block') {
 
-    // Set the featured image variable to false, we will only
+    // Set the featured image variable to no, we will only
     // change if there is a featured image.
-    $variables['featured_image'] = FALSE;
+    $variables['featured_image'] = 'no';
 
     // Load the node.
     $node = \Drupal::routeMatch()->getParameter('node');
-- 
GitLab