diff --git a/layouts/partials/figure.html b/layouts/partials/figure.html index e5b7afc0..28203afb 100644 --- a/layouts/partials/figure.html +++ b/layouts/partials/figure.html @@ -54,10 +54,10 @@ class="{{ $classes }} image_processed" width="{{ .Width }}" height="{{ .Height }}" - src="{{ .RelPermalink }}" + src="{{ .RelPermalink | absURL }}" {{ else }} class="{{ $classes }} image_unprocessed" - src="{{ $fileWeb }}" + src="{{ $fileWeb | absURL }}" {{ end }} {{ with $cap }} title="{{ safeHTML $cap }}"