diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index df6f723..7ed13a6 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -22,12 +22,13 @@
font-style: normal;
}
- {{ block "styles" . }}{{ end }}
+
{{ if not hugo.IsProduction }}
{{ end }}
+ {{ block "styles" . }}{{ end }}
{{ if gt (len .Section) 0 }}
{{ range .FirstSection.Resources.Match "*.css" }}