aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/author-card.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/author-card.html')
-rw-r--r--themes/default/layouts/partials/author-card.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html
index bbb3ec8..61c403a 100644
--- a/themes/default/layouts/partials/author-card.html
+++ b/themes/default/layouts/partials/author-card.html
@@ -42,12 +42,12 @@
<a title="{{ .Data.name }}" href="{{ "" | absURL }}/{{ .Data.user }}/#">
<picture>
{{- with $sourceset -}}
- <source srcset="{{ $sourceset }}" type="image/webp" />
+ <source srcset="{{ print ("" | absURL) $sourceset }}" type="image/webp" />
{{- end -}}
<img
width="{{ or $width "64" }}"
height="{{ or $height "64" }}"
- src="{{ $source }}"
+ src="{{ print ("" | absURL) $source }}"
alt="{{ $alternate }}"
/>
</picture>