summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-25 19:48:54 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2022-03-25 19:48:54 +0530
commit496b84659727bc2403214a56778edca7fc7597eb (patch)
tree4f7f6b9c240d9963faea7c831e3d7a8d185c2a23 /layouts
parent375155061d42c6d7eb44ad4fe980d4ae021de66b (diff)
Removing unit from `img`'s height attribute for label.icon
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-height
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index cc63659..f95a7a6 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -47,7 +47,7 @@
<a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)">
{{- if .Site.Params.label.icon }}
<img src="{{- .Site.Params.label.icon | absURL -}}" alt="logo" aria-label="logo"
- height="{{- .Site.Params.label.iconHeight | default " 30px" -}}">
+ height="{{- .Site.Params.label.iconHeight | default "30" -}}">
{{- end -}}
{{- $label_text -}}
</a>