2024-02-26 11:41:39 +00:00
|
|
|
{{ define "head" }}
|
|
|
|
|
|
|
|
{{ with .Resources.GetMatch "{*.scss,*.css}" }}
|
|
|
|
{{ $style := . | toCSS | minify | fingerprint }}
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2024-03-14 23:29:33 +00:00
|
|
|
href="{{ $style.RelPermalink }}"
|
2024-02-26 11:41:39 +00:00
|
|
|
integrity="{{ $style.Data.Integrity }}"
|
|
|
|
media="screen">
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ with .Resources.GetMatch "*.js" }}
|
|
|
|
{{ $js := . | minify | minify | fingerprint }}
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2024-03-14 23:29:33 +00:00
|
|
|
src="{{ $js.RelPermalink }}"
|
2024-02-26 11:41:39 +00:00
|
|
|
integrity="{{ $js.Data.Integrity }}">
|
|
|
|
</script>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
2021-12-14 20:35:42 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ end }}
|