Preload fonts properly with 'crossorigin'
We probably don't need to preload fonts (it will reduce browser warnings), since it wasn't working all this while. But it's probably there to address something (perhaps to handle OG better?), so do it right by setting the proper flags. https://stackoverflow.com/questions/1330825/preloading-font-face-fonts/46830425#comment87712868_46830425
This commit is contained in:
parent
1eada066ff
commit
73cf52426f
1 changed files with 6 additions and 6 deletions
|
@ -7,12 +7,12 @@
|
||||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||||
<link rel="icon" type="image/png" href="/public/favicon.png" />
|
<link rel="icon" type="image/png" href="/public/favicon.png" />
|
||||||
|
|
||||||
<link rel="preload" href="/public/font/v1/300.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/300.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/300i.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/300i.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/400.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/400.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/400i.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/400i.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" />
|
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
Loading…
Reference in a new issue