mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-01-22 09:46:15 -06:00
Revert "Load bobastyle.css async too"
This reverts commits f33492ef8ec0c1fe8ab769dfcad267040bb2070b and 5c87c2b0694dd3ba410eaad6cad10f677d66809f. It turns out this makes performance score even worse because it makes the CLS really bad
This commit is contained in:
parent
5c87c2b069
commit
9ca15a198f
@ -4,7 +4,7 @@
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" media="print" onload="this.media='all'">
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
||||
{{ end }}
|
||||
{{ with resources.Get "css/syntax.css" | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" media="print" onload="this.media='all'">
|
||||
|
Loading…
x
Reference in New Issue
Block a user