- Add partials in the resources folder for each of the major resources of my site - Consolidate .css and .js files via resources.Concat where possible
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ site.LanguageCode }}">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
{{ block "body" . -}}
|
|
{{ block "header" . }}{{ end }}
|
|
<main class="{{ .Type }} {{ .Kind }}{{ if gt (len .Pages) 0 }} list{{ end }}">
|
|
{{ block "main" . }}{{ end }}
|
|
</main>
|
|
{{- partial "development/page_info.html" . -}}
|
|
{{- block "footer" . -}}{{- end -}}
|
|
{{- end -}}
|
|
</body>
|
|
|
|
{{ with partial "resources/root_css.html" . -}}
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}">
|
|
{{- end -}}
|
|
{{- with partial "resources/section_css.html" . -}}
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}">
|
|
{{- end -}}
|
|
{{- with partial "resources/page_css.html" . -}}
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}">
|
|
{{- end -}}
|
|
|
|
{{ block "styles" . }}{{ end }}
|
|
{{ block "scripts" . }}{{ end }}
|
|
|
|
{{- with partial "resources/site_js.html" . -}}
|
|
<script type="module" src="{{ .Permalink }}" integrity="{{ .Data.Integrity }}"></script>
|
|
{{ end }}
|
|
</html>
|