mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	profileMode : init
usaage, in config add
params:
    profileMode:
      title: "PaperMod" // or default will be site.title
      imageUrl: "<image_link>"
			
			
This commit is contained in:
		| @@ -30,6 +30,11 @@ | ||||
| {{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }} | ||||
| <link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="preload stylesheet" | ||||
|     as="style"> | ||||
| {{ if (and (.Site.Params.profileMode) (.IsHome)) }} | ||||
| {{ $profileMode := resources.Get "css/profileMode.css" | minify | fingerprint }} | ||||
| <link href="{{ $profileMode.Permalink }}" integrity="{{ $profileMode.Data.Integrity }}" rel="preload stylesheet" | ||||
|     as="style"> | ||||
| {{end}} | ||||
| <link href="{{ "custom.css" | absURL }}" rel="stylesheet"> | ||||
| <!-- Favicons --> | ||||
| <link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange