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 -}}