From 5c51eb23877b3f5df14178d0b562d44fdc9e1c07 Mon Sep 17 00:00:00 2001 From: Eli Selkin <5606931+eselkin@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:06:13 -0800 Subject: [PATCH] conditional rendering of data-widget-type div or full-width-banners based on CMS toggle --- src/site/components/banners.drupal.liquid | 3 --- src/site/includes/header.html | 11 ++++++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/site/components/banners.drupal.liquid b/src/site/components/banners.drupal.liquid index c8d9ca406c..95a9e10bce 100644 --- a/src/site/components/banners.drupal.liquid +++ b/src/site/components/banners.drupal.liquid @@ -17,9 +17,6 @@ >{{ banner.body.processed }} {% endfor %} - -
- diff --git a/src/site/includes/header.html b/src/site/includes/header.html index c2be000bf6..cb9d126ec8 100644 --- a/src/site/includes/header.html +++ b/src/site/includes/header.html @@ -180,9 +180,14 @@ {% include "src/site/components/banners.drupal.liquid" %} - - {% include "src/site/components/fullwidth_banner_alerts.drupal.liquid" %} - + {% if enabledFeatureFlags.FEATURE_BANNER_USE_ALTERNATIVE_BANNERS %} + + + {% else %} + + {% include "src/site/components/fullwidth_banner_alerts.drupal.liquid" %} + {% endif %} +