mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-29 22:01:39 +00:00
preload webfonts
This commit is contained in:
parent
fabac990b1
commit
66623e43f2
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,13 @@
|
|||
{{ $secureStyle := $style | resources.Fingerprint "sha512" }}
|
||||
<link rel="preload" href="{{ $secureStyle.Permalink }}" as="style" />
|
||||
<link rel="stylesheet" href="{{ $secureStyle.Permalink }}" integrity="{{ $secureStyle.Data.Integrity }}">
|
||||
|
||||
|
||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-regular-webfont.woff2" crossorigin/>
|
||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-semibold-webfont.woff2" crossorigin/>
|
||||
<link rel="preload" as="font" type="font/woff2" href="/fonts/sourcesanspro-black-webfont.woff2" crossorigin/>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Reference in a new issue