mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 11:25:26 +01:00 
			
		
		
		
	Allow adding SVG in place of logo image (#976)
Usage => Params.label.iconSVG: "<your SVG as a string>"
This commit is contained in:
		| @@ -66,6 +66,8 @@ | ||||
|                 <img src="{{- site.Params.label.icon | absURL -}}" alt="" aria-label="logo" | ||||
|                     height="{{- site.Params.label.iconHeight | default "30" -}}"> | ||||
|                 {{- end -}} | ||||
|                 {{- else if hasPrefix site.Params.label.iconSVG "<svg" }} | ||||
|                     {{ site.Params.label.iconSVG | safeHTML }} | ||||
|                 {{- end -}} | ||||
|                 {{- $label_text -}} | ||||
|             </a> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aniket Teredesai
					Aniket Teredesai