From 177fbaeee9afbb44ac39aa7d218eacf7b130623c Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Tue, 10 Oct 2023 10:22:20 +0200
Subject: [PATCH] add option to force grid debug

---
 layouts/_default/baseof.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 96f9fc76..243ece6a 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -31,7 +31,7 @@
     {{- partial "footer/plausible.html" . -}}
     {{- partial "footer/js.html" . -}}
     {{- partial "footer/script.html" . -}}
-    {{- if not hugo.IsProduction -}}
+    {{- if or (not hugo.IsProduction) site.Params.force_debug -}}
       {{- partial "footer/debug.html" . -}}
     {{- end -}}
   </body>
-- 
GitLab