From 8a9ddddf0924d6ba94ea85cd9a7cdf97194939ce Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 26 Dec 2021 12:40:40 -0700 Subject: [PATCH] Don't insert the
if a title doesn't exist --- layouts/shortcodes/post_figure.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/post_figure.html b/layouts/shortcodes/post_figure.html index 134a032..52d65a7 100644 --- a/layouts/shortcodes/post_figure.html +++ b/layouts/shortcodes/post_figure.html @@ -4,9 +4,9 @@ + {{ if $img.Title }}
- {{ if $img.Title }}

{{ $img.Title }}

- {{ end }}
+ {{ end }} \ No newline at end of file