diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html
index 2e8a48c6..7f3dac76 100644
--- a/layouts/shortcodes/figure.html
+++ b/layouts/shortcodes/figure.html
@@ -21,7 +21,7 @@
{{ if $lightbox }}
-
+
{{ else if .Get "link"}}
{{ end -}}