fix: preload stylesheets
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
{{- end -}}
|
||||
{{- if .Preload -}}
|
||||
<link rel="preload" {{ $attrs | safeHTMLAttr }} as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<noscript></noscript><link rel="stylesheet" {{ $attrs | safeHTMLAttr }}></noscript>
|
||||
<noscript><link rel="stylesheet" {{ $attrs | safeHTMLAttr }}></noscript>
|
||||
{{- else -}}
|
||||
<link rel="stylesheet" {{ $attrs | safeHTMLAttr }}>
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user