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