From dc6812c0aeb8fe5add35d9f4b8a1928ff76ee410 Mon Sep 17 00:00:00 2001 From: kartnico Date: Wed, 27 Mar 2024 17:58:37 +0100 Subject: [PATCH] fix path to thumbnail images incorrect on second and higher page Signed-off-by: kartnico --- layouts/partials/figure.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}"