nav-label: accessibility

This commit is contained in:
Aditya Telange 2020-10-17 00:05:10 +05:30
parent 3edc160c59
commit 3826200b7c
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -32,7 +32,7 @@
<p class="logo">
<a href="{{ "" | absLangURL }}">
{{- if .Site.Params.label.icon }}
<img src="{{- .Site.Params.label.icon -}}"
<img src="{{- .Site.Params.label.icon -}}" alt="logo" aria-label="logo"
height="{{- .Site.Params.label.iconHeight | default "30px" -}}">
{{- end -}}
{{- .Site.Params.label.text | default .Site.Title -}}