mirror of
https://github.com/GuerillaHQ/now-playing
synced 2024-06-27 14:01:35 +00:00
preload stylesheet
This commit is contained in:
parent
d0b6653ce2
commit
0c051d4d82
|
@ -43,6 +43,7 @@
|
|||
{{ $sass := resources.Get "/scss/style.scss" }}
|
||||
{{ $style := $sass | resources.ToCSS | minify | fingerprint }}
|
||||
{{ $secureStyle := $style | resources.Fingerprint "sha512" }}
|
||||
<link rel="preload" href="{{ $secureStyle.Permalink }}" as="style" />
|
||||
<link rel="stylesheet" href="{{ $secureStyle.Permalink }}" integrity="{{ $secureStyle.Data.Integrity }}">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue