Create assets/styles/root to hold all the fragments of the root stylesheet. This should make it easier to find and hack on style. Yay!
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ site.Language.Lang }}">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
{{ block "body" . -}}
|
|
{{- block "before" . -}}{{- end -}}
|
|
{{- block "header" . -}}{{ partial "header.html" .}}{{- end -}}
|
|
<main class="{{ .Type }} {{ .Kind }}{{ if gt (len .Pages) 0 }} list{{ end }}">
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
{{- block "footer" . -}}
|
|
{{ partial "footer.html" . }}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
{{- partial "development/page_info.html" . -}}
|
|
</body>
|
|
|
|
{{ with partial "resources/root_css.html" . -}}
|
|
{{ range . }}<link rel="stylesheet" as="style" href="{{ .Permalink }}">{{ end }}
|
|
{{- end -}}
|
|
{{- with partial "resources/section_css.html" . -}}
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}">
|
|
{{- end -}}
|
|
{{- with partial "resources/page_css.html" . -}}
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}">
|
|
{{- end -}}
|
|
|
|
{{ block "styles" . }}{{ end }}
|
|
{{ block "scripts" . }}{{ end }}
|
|
|
|
{{- with partial "resources/site_js.html" . -}}
|
|
<script type="module" src="{{ .RelPermalink }}"></script>
|
|
{{ end }}
|
|
</html>
|