diff options
author | Ivan Boothe <git@rootwork.org> | 2022-04-25 02:07:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 02:07:31 +0300 |
commit | 3907689dd31547fa2452a7d4d355fe1006f5c811 (patch) | |
tree | f1752ed0073834fa54ca67771aea1d797ed105dc /layouts | |
parent | 2e321313f63118a0e90c6a6266b89bc9e11d961e (diff) | |
parent | 20515b859ff9ea6df60134e947bc39e7621dfe00 (diff) |
Merge pull request #283 from rootwork/allow-empty-imagecaps
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/figure.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/figure.html b/layouts/partials/figure.html index 163af57..3d797e2 100644 --- a/layouts/partials/figure.html +++ b/layouts/partials/figure.html @@ -55,7 +55,7 @@ /> {{/* Provide caption based on image title, if it is set. */}} - {{- with $cap -}} + {{- if not (eq $cap " ") -}} <figcaption>{{ $cap | safeHTML }}</figcaption> {{- end -}} |