diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 96f9fc769d1128cc85028030c2b8949bca2d543b..243ece6a2a6f7007df71022bc31e91b9c3491916 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>