Move the main.css link to baseof and move the styles block below all the page-level links

This commit is contained in:
Eryn Wells 2022-09-24 07:48:20 -07:00
parent 430846449d
commit b4293bcd32

View file

@ -22,12 +22,13 @@
font-style: normal;
}
</style>
{{ block "styles" . }}{{ end }}
<link rel="preload stylesheet" as="style" href="{{ `/styles/main.css` | absURL }}">
<link rel="stylesheet" as="style" href="{{ `/styles/reset.css` | absURL }}">
<link rel="stylesheet" as="style" href="{{ `/styles/root.css` | absURL }}">
{{ if not hugo.IsProduction }}
<link rel="stylesheet" as="style" href="/styles/development.css">
{{ end }}
{{ block "styles" . }}{{ end }}
{{ if gt (len .Section) 0 }}
{{ range .FirstSection.Resources.Match "*.css" }}
<link rel="stylesheet" as="style" href="{{ .Permalink }}">