summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-09 11:30:00 +0800
committerReorx <novoreorx@gmail.com>2022-09-09 11:30:32 +0800
commit7a7486c112f56555166315f5ba1a8b28b68e6513 (patch)
treea935a546492aee059ddd1b02ee968b3ce7409595 /layouts/partials
parent2dd6ff7b0aaaf7469973c8e88fd6b814428120af (diff)
fix header logo width inconsistancy
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 01f2b41..f1435b8 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -89,10 +89,10 @@ function toggleThemeListener() {
{{- end }}
{{- end }}
<img src="{{ $img.Permalink }}" alt="logo" aria-label="logo"
- height="{{- site.Params.logo.iconHeight | default "30" -}}">
+ height="{{- site.Params.logo.iconHeight | default "30" -}}" width="{{- site.Params.logo.iconWidth | default "30" -}}">
{{- else }}
- <img src="{{- site.Params.logo.icon | absURL -}}" alt="logo" aria-label="logo"
- height="{{- site.Params.logo.iconHeight | default "30" -}}">
+ <img src="{{ $img.Permalink }}" alt="logo" aria-label="logo"
+ height="{{- site.Params.logo.iconHeight | default "30" -}}" width="{{- site.Params.logo.iconWidth | default "30" -}}">
{{- end -}}
{{- end -}}
{{- $label_text -}}