Defer some heavier CSS until later to help page loading times.

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2023-12-30 16:00:57 -08:00
parent 1f64536c30
commit 973be263dc
2 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
<link rel="preload" href="{{ .url }}" as="style" onload="this.onload=null;this.rel='stylesheet'" {{ .extra | safeHTMLAttr }}>
<noscript><link rel="stylesheet" href="{{ .url }}"></noscript>