mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	assets : use preload and defer
This commit is contained in:
		| @@ -25,7 +25,8 @@ | |||||||
| {{ $404 := resources.Get "css/404.css" | minify }} | {{ $404 := resources.Get "css/404.css" | minify }} | ||||||
| {{ $style := slice $theme $reset $header $main $postentry $postsingle $terms $archive $footer $404 | resources.Concat "stylesheet.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 }} | {{ $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"> | <link href="{{ "custom.css" | absURL }}" rel="stylesheet"> | ||||||
| <!-- Favicons --> | <!-- Favicons --> | ||||||
| <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange