diff options
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 6 |
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 -}} |
