abdullahtarawneh.com/layouts/work/single.html

25 lines
523 B
HTML
Raw Normal View History

{{ 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 }}"
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 }}"
integrity="{{ $js.Data.Integrity }}">
</script>
{{ end }}
{{ end }}
2021-12-14 20:35:42 +00:00
{{ define "main" }}
{{ .Content }}
{{ end }}