Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-07-17 08:28:40 +0300
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-07-17 09:14:33 +0300
commit87ffee9fcf6dc3255b5d7346122ba32606430dcf (patch)
treec6fb5436f7d592932b386d1a86153fc3d0634698
parentbb6d4647bdf5716bfa6ccf5f91ef87d5297da758 (diff)
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/
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 63cf652c..1e29e75a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -60,10 +60,10 @@
{{- $img = $img.Resize "x30" }}
{{- 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" -}}">
{{- 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" -}}">
{{- end -}}
{{- end -}}