diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html
index 663273e0..2e8a48c6 100644
--- a/layouts/shortcodes/figure.html
+++ b/layouts/shortcodes/figure.html
@@ -18,7 +18,7 @@
{{/* Get caption. Support legacy `title` option. */}}
{{ $caption := .Get "title" | default (.Get "caption") | default "" }}
-
+
{{ if $lightbox }}