diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html index a9a4a15b..c916c9dc 100644 --- a/layouts/shortcodes/figure.html +++ b/layouts/shortcodes/figure.html @@ -7,6 +7,7 @@ {{ $caption := .Get "caption" }} {{ $href := .Get "href" }} {{ $class := .Get "class" }} + {{ $nozoom := .Get "nozoom" | default false }} {{ if findRE "^https?" $url.Scheme }}
{{ $altText }} @@ -24,13 +25,13 @@ {{ with $href }}{{ end }} {{ if $disableImageOptimization }} {{ $altText }} {{ else }} {{ else }}
- {{ $altText }} + {{ $altText }} {{ with $caption }}
{{ . | markdownify }}
{{ end }}
{{ end }}