From 65d25914651093055f2a840a2f3be6fd06444454 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 14 Mar 2024 16:56:34 +0200 Subject: [PATCH] banner.html: use `path.Join` --- src/layouts/partials/banner.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/partials/banner.html b/src/layouts/partials/banner.html index 5cc015098..5b8b5abea 100644 --- a/src/layouts/partials/banner.html +++ b/src/layouts/partials/banner.html @@ -1,7 +1,7 @@ {{- /* Accepts 1 parameter, the "context" */ -}} {{- $src := .context.Page.Params.banner -}} -{{- $config := imageConfig (add "/src/static" $src) -}} +{{- $config := imageConfig (path.Join "/src/static" $src) -}} {{- $classes := "d-block img-fluid rounded-3 mb-4" -}} - +