mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	socialIcons, fix: apply safeURL to make all URI schemes work (#1266)
This commit is contained in:
		 Andreas Deininger
					Andreas Deininger
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							74d288ff94
						
					
				
				
					commit
					61bf918a0d
				
			| @@ -1,6 +1,6 @@ | ||||
| <div class="social-icons"> | ||||
|     {{- range . }} | ||||
|     <a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}"> | ||||
|     <a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}"> | ||||
|         {{ partial "svg.html" . }} | ||||
|     </a> | ||||
|     {{- end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user