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