assets : use preload and defer
This commit is contained in:
parent
e85488ba1b
commit
5e129bde1d
|
@ -25,7 +25,8 @@
|
|||
{{ $404 := resources.Get "css/404.css" | minify }}
|
||||
{{ $style := slice $theme $reset $header $main $postentry $postsingle $terms $archive $footer $404 | resources.Concat "stylesheet.css" | minify }}
|
||||
{{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }}
|
||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="stylesheet">
|
||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet"
|
||||
as="style">
|
||||
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
||||
|
|
Loading…
Reference in New Issue