mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	Remove alt for label.icon
considering "iconic images that are redundant with text next to them or purely decorative should have alt="" instead." from https://validator.w3.org/
This commit is contained in:
		| @@ -60,10 +60,10 @@ | |||||||
|                             {{- $img = $img.Resize "x30" }} |                             {{- $img = $img.Resize "x30" }} | ||||||
|                         {{- end }} |                         {{- end }} | ||||||
|                     {{- end }} |                     {{- end }} | ||||||
|                     <img src="{{ $img.Permalink }}" alt="logo" aria-label="logo" |                     <img src="{{ $img.Permalink }}" alt="" aria-label="logo" | ||||||
|                         height="{{- site.Params.label.iconHeight | default "30" -}}"> |                         height="{{- site.Params.label.iconHeight | default "30" -}}"> | ||||||
|                 {{- else }} |                 {{- else }} | ||||||
|                 <img src="{{- site.Params.label.icon | absURL -}}" alt="logo" aria-label="logo" |                 <img src="{{- site.Params.label.icon | absURL -}}" alt="" aria-label="logo" | ||||||
|                     height="{{- site.Params.label.iconHeight | default "30" -}}"> |                     height="{{- site.Params.label.iconHeight | default "30" -}}"> | ||||||
|                 {{- end -}} |                 {{- end -}} | ||||||
|                 {{- end -}} |                 {{- end -}} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange