|
@@ -20,8 +20,9 @@
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
|
|
{{ printf `<link rel="%s" type="%s+%s" href="%s" title="%s" />` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
{{ end -}}
|
|
- {{ $style := resources.Get "scss/style.scss" | toCSS | minify | fingerprint -}}
|
|
|
|
- <link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}>
|
|
|
|
|
|
+ {{ with resources.Get "scss/style.scss" | toCSS | minify -}}
|
|
|
|
+ <style>{{ .Content | safeCSS }}</style>
|
|
|
|
+ {{- end }}
|
|
{{ block "head" . -}}{{- end }}
|
|
{{ block "head" . -}}{{- end }}
|
|
</head>
|
|
</head>
|
|
|
|
|
|
@@ -29,8 +30,6 @@
|
|
{{ block "header" . -}}{{ end -}}
|
|
{{ block "header" . -}}{{ end -}}
|
|
{{ block "main" . -}}{{ end -}}
|
|
{{ block "main" . -}}{{ end -}}
|
|
{{ block "footer" . -}}{{ end }}
|
|
{{ block "footer" . -}}{{ end }}
|
|
- {{ $script := resources.Get "js/main.js" | minify | fingerprint -}}
|
|
|
|
- <script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script>
|
|
|
|
</body>
|
|
</body>
|
|
|
|
|
|
</html>
|
|
</html>
|