Move the main.css link to baseof and move the styles block below all the page-level links
This commit is contained in:
parent
430846449d
commit
b4293bcd32
1 changed files with 2 additions and 1 deletions
|
@ -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 }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue