mirror of
https://github.com/Damillora/Yuika
synced 2024-11-16 23:07:33 +00:00
fix: defer fonts
This commit is contained in:
parent
50e505f31f
commit
8424e13ac4
11
default.hbs
11
default.hbs
@ -12,10 +12,15 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
|
||||||
|
|
||||||
<link rel="preload" as="style" href="{{asset "built/styles.css"}}" />
|
<link rel="preload" as="style" href="{{asset "built/styles.css"}}" />
|
||||||
|
<link rel="preload"
|
||||||
|
href="https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap"
|
||||||
|
as="style"
|
||||||
|
onload="this.onload=null; this.rel='stylesheet'; document.body.classList.add('fontLoaded')">
|
||||||
|
<link rel="preload"
|
||||||
|
href="https://fonts.googleapis.com/icon?family=Material+Icons&display=swap"
|
||||||
|
as="style"
|
||||||
|
onload="this.onload=null; this.rel='stylesheet'; document.body.classList.add('fontLoaded')">
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css"
|
|
||||||
href="https://fonts.googleapis.com/css?family=Exo+2:300,400,500&display=swap" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons&display=block" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{asset "built/styles.css"}}" />
|
<link rel="stylesheet" type="text/css" href="{{asset "built/styles.css"}}" />
|
||||||
|
|
||||||
{{ghost_head}}
|
{{ghost_head}}
|
||||||
|
Loading…
Reference in New Issue
Block a user