mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
fix: preload stylesheets
This commit is contained in:
parent
56b4252ec7
commit
aa834e89af
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||||
|
|
Loading…
Reference in a new issue