abdullahtarawneh.com/layouts/_default/custom_html.html
a 2247ee2776 June 2024 redesign (#1)
still missing some things but they were missing before anyway. so it's probably better to just push and deploy already.

Reviewed-on: #1
2024-06-03 23:22:36 +00:00

25 lines
523 B
HTML

{{ define "head" }}
{{ with .Resources.GetMatch "{*.scss,*.css}" }}
{{ $style := . | toCSS | minify | fingerprint }}
<link
rel="stylesheet"
href="{{ $style.RelPermalink }}"
integrity="{{ $style.Data.Integrity }}"
media="screen">
{{ end }}
{{ with .Resources.GetMatch "*.js" }}
{{ $js := . | minify | minify | fingerprint }}
<script
type="text/javascript"
src="{{ $js.RelPermalink }}"
integrity="{{ $js.Data.Integrity }}">
</script>
{{ end }}
{{ end }}
{{ define "main" }}
{{ .Content }}
{{ end }}