mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-26 11:21:40 +00:00
preload stylesheet
This commit is contained in:
parent
d0b6653ce2
commit
0c051d4d82
1 changed files with 1 additions and 0 deletions
|
@ -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