diff options
| -rw-r--r-- | layouts/partials/header.html | 2 | ||||
| -rw-r--r-- | layouts/partials/index_profile.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index f53ab52..cc63659 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -46,7 +46,7 @@ {{- if .Site.Title }} <a href="{{ "" | absLangURL }}" accesskey="h" title="{{ $label_text }} (Alt + H)"> {{- if .Site.Params.label.icon }} - <img src="{{- .Site.Params.label.icon -}}" alt="logo" aria-label="logo" + <img src="{{- .Site.Params.label.icon | absURL -}}" alt="logo" aria-label="logo" height="{{- .Site.Params.label.iconHeight | default " 30px" -}}"> {{- end -}} {{- $label_text -}} diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index b7753f9..4e961ba 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -2,7 +2,7 @@ {{- with .Site.Params.profileMode }} <div class="profile_inner"> {{- if .imageUrl -}} - <img src="{{ .imageUrl }}" alt="{{ .imageTitle | default "profile image" }}" + <img src="{{ .imageUrl | absURL }}" alt="{{ .imageTitle | default "profile image" }}" height="{{ .imageHeight | default 150 }}" width="{{ .imageWidth | default 150 }}" /> {{- end }} <h1>{{ .title | default $.Site.Title | markdownify }}</h1> |
