vanilla-hugo/layouts/partials/defercss.html
Danila Fedorin 973be263dc Defer some heavier CSS until later to help page loading times.
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2023-12-30 16:00:57 -08:00

3 lines
189 B
HTML

<link rel="preload" href="{{ .url }}" as="style" onload="this.onload=null;this.rel='stylesheet'" {{ .extra | safeHTMLAttr }}>
<noscript><link rel="stylesheet" href="{{ .url }}"></noscript>