From 9ca7093d0e9aada95c183de27f8ca1fe0d9a32b5 Mon Sep 17 00:00:00 2001 From: Frieder Griesshammer Date: Sun, 1 Jan 2023 17:52:19 +0100 Subject: [PATCH] Fix leftover empty 'img' tag from 'random_image' shortcode --- layouts/shortcodes/random_image.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/shortcodes/random_image.html b/layouts/shortcodes/random_image.html index 40b47de..b59b9f1 100644 --- a/layouts/shortcodes/random_image.html +++ b/layouts/shortcodes/random_image.html @@ -4,9 +4,7 @@ {{- end }} {{- $alt := default "random image" ($.Page.Param "image.alt") }} {{- $id := sha256 (index (seq 999 | shuffle) 0) }} -

- -

+