mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 10:22:44 +01:00 
			
		
		
		
	Revert "Preload profileMode image and label icon"
				
					
				
			This reverts commita3ad238f78This reverts commita86abf5994.
This commit is contained in:
		@@ -58,16 +58,6 @@
 | 
			
		||||
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
 | 
			
		||||
{{- end }}
 | 
			
		||||
 | 
			
		||||
{{- with site.Params.profileMode }}
 | 
			
		||||
{{- if and .enabled .imageUrl $.IsHome }}
 | 
			
		||||
<link rel="preload" href="{{ .imageUrl }}" as="image">
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
 | 
			
		||||
{{- with site.Params.label.icon }}
 | 
			
		||||
<link rel="preload" href="{{ . }}" as="image">
 | 
			
		||||
{{- end }}
 | 
			
		||||
 | 
			
		||||
{{- /* Search */}}
 | 
			
		||||
{{- if (eq .Layout `search`) -}}
 | 
			
		||||
<link crossorigin="anonymous" rel="preload" as="fetch" href="../index.json">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user