Break up reset and root styles into separate stylesheets and include them directly in baseof.html
This commit is contained in:
parent
295c61466c
commit
27154cdfc2
3 changed files with 155 additions and 35 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue