Break up reset and root styles into separate stylesheets and include them directly in baseof.html

This commit is contained in:
Eryn Wells 2022-09-07 08:46:02 -07:00
parent 295c61466c
commit 27154cdfc2
3 changed files with 155 additions and 35 deletions

View file

@ -5,7 +5,7 @@
<body>
{{ block "body" . }}
{{ block "header" . }}{{ end }}
<main>
<main class="{{ .Type }}">
{{ block "main" . }}{{ end }}
</main>
{{ partial "development/page_info.html" . }}
@ -23,6 +23,8 @@
}
</style>
{{ block "styles" . }}{{ end }}
<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 }}