erynwells.me/layouts/_default/baseof.html

45 lines
1.4 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="{{ site.LanguageCode }}">
{{ partial "head.html" . }}
2022-09-03 15:30:38 -07:00
<body>
{{ block "body" . }}
{{ block "header" . }}{{ end }}
<main class="{{ .Type }}">
2021-12-26 12:43:26 -07:00
{{ block "main" . }}{{ end }}
</main>
{{ partial "development/page_info.html" . }}
2022-09-03 15:30:38 -07:00
{{ block "footer" . }}{{ end }}
{{ end }}
</body>
2022-09-03 15:30:38 -07:00
<style>
@font-face {
font-family: "Museo_Slab";
src: url("{{ `/fonts/Museo_Slab_500.woff2` | absURL }}") format("woff2"),
url("{{ `/fonts/Museo_Slab_500.woff` | absURL }}") format("woff");
font-weight: normal;
font-style: normal;
}
</style>
<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 }}">
2022-09-03 15:30:38 -07:00
{{ if not hugo.IsProduction }}
<link rel="stylesheet" as="style" href="/styles/development.css">
2022-08-27 10:09:55 -07:00
{{ end }}
{{ block "styles" . }}{{ end }}
2022-09-11 10:40:25 -07:00
{{ if gt (len .Section) 0 }}
{{ range .FirstSection.Resources.Match "*.css" }}
<link rel="stylesheet" as="style" href="{{ .Permalink }}">
{{ end }}
{{ end }}
2022-09-03 15:30:38 -07:00
{{ range .Resources.Match "*.css" }}
<link rel="stylesheet" as="style" href="{{ .Permalink }}">
2022-08-27 10:09:55 -07:00
{{ end }}
2022-09-03 15:30:38 -07:00
{{ block "scripts" . }}{{ end }}
2022-08-27 10:09:55 -07:00
2022-09-18 13:41:29 -07:00
<script src="{{ `scripts/site.js` | absURL }}"></script>
</html>