From 28033351c7859a9fccd623775702f0fa755375dc Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Wed, 14 May 2025 17:58:50 +0200 Subject: [PATCH] fix: figure attr --- layouts/shortcodes/figure.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index d45d521..b7c55cf 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -61,7 +61,7 @@ {{- end -}} - {{- if $src.Params -}} + {{- if ( isset $src.Params "attr" ) -}} {{- partial "media/attr.html" ( dict "pc" . "sc" $ "params" $src.Params ) -}} {{- end -}}