diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index b919a2d4..5052fbd5 100644 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -1,7 +1,9 @@ -{{ partial "theme-notification" . }} +{{ if eq hugo.Environment "development" }} + {{ partial "theme-notification" . }} +{{ end }}