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
1 changed files with 1 additions and 1 deletions

View File

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