From 26ee37b52afaf7e2cd4f2a78a6ed13c758568ac1 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 21 Sep 2023 17:31:43 +0200 Subject: [PATCH] feat: add image border as query param Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- layouts/_default/_markup/render-image.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index eaa74ffc27..8d112c6c12 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -6,6 +6,7 @@ {{ $params := (urls.Parse $imagePath).Query }} {{ $width := index $params "w" }} {{ $height := index $params "h" }} +{{ $border := index $params "border" }}