diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-01-13 20:35:56 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2022-01-13 20:35:56 +0530 |
| commit | 0fe857539b26f408847095ee33ee842f60b6b4a7 (patch) | |
| tree | 7bfa2d684456c38b7cc9617b6f84c2dbb1ee060e /layouts/partials/index_profile.html | |
| parent | 72abf7440a0770d869b86733b11bb18f20f1f0da (diff) | |
Add `absURL` to `label.icon` and `profileMode.imageUrl`
fixes: #622 #623
Diffstat (limited to 'layouts/partials/index_profile.html')
| -rw-r--r-- | layouts/partials/index_profile.html | 2 |
1 files changed, 1 insertions, 1 deletions
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> |
