diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index 4c6ff1f..edf542a 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -11,7 +11,7 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/
- +
{{ with .Get "link" | default (.Get "src") }}{{ end }} {{- if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}