mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-24 14:49:22 -05:00
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
Block a user