From 9d659182fd8025e4fdd2e722649f135c53e7dd0e Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 26 Feb 2024 17:16:38 +0100
Subject: [PATCH] hero fix

---
 assets/sass/_theme/design-system/hero.sass | 3 +--
 layouts/partials/footer/debug.html         | 2 +-
 layouts/partials/programs/hero-single.html | 2 --
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/assets/sass/_theme/design-system/hero.sass b/assets/sass/_theme/design-system/hero.sass
index bd55209d..0de31f97 100644
--- a/assets/sass/_theme/design-system/hero.sass
+++ b/assets/sass/_theme/design-system/hero.sass
@@ -65,8 +65,7 @@
 
     @include media-breakpoint-up(desktop)
         .hero-text
-            .hero-text
-                width: columns(9)
+            width: columns(9)
         &--with-image
             .content
                 display: flex
diff --git a/layouts/partials/footer/debug.html b/layouts/partials/footer/debug.html
index 264919a4..86fc5ac3 100644
--- a/layouts/partials/footer/debug.html
+++ b/layouts/partials/footer/debug.html
@@ -275,7 +275,7 @@
 
   function openInProd() {
     // To use this debug method, add params.productionUrl key to your hugo config.yaml
-    const productionUrl = "{{ site.Params.productionUrl }}";
+    const productionUrl = "{{ site.Params.debug.productionUrl }}";
     if (productionUrl) {
       window.open(`${productionUrl}${window.location.pathname}`);
     }
diff --git a/layouts/partials/programs/hero-single.html b/layouts/partials/programs/hero-single.html
index bcf281be..96357ec3 100644
--- a/layouts/partials/programs/hero-single.html
+++ b/layouts/partials/programs/hero-single.html
@@ -2,8 +2,6 @@
 {{ partial "header/hero.html"
       (dict
         "title" $title
-        "image" .Params.image
-        "sizes" site.Params.image_sizes.sections.home.hero
         "context" .
         "hero_complement" "programs/essential.html"
       )}}
-- 
GitLab