From b4293bcd32f1eeb7b14e3c8a1a3b5f72e8a2b37e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 24 Sep 2022 07:48:20 -0700 Subject: [PATCH] Move the main.css link to baseof and move the styles block below all the page-level links --- layouts/_default/baseof.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" }}