From e61b737b02f32ab879c3f0b200508b4204623982 Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Thu, 14 Jul 2016 13:17:03 -0700 Subject: [PATCH] Fix unclosed
tag bug Previously, if you didn't include a caption, the `
` tag would never be closed. Just needed to move the `{% endif %}` --- _includes/image.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/image.html b/_includes/image.html index ad12972..7b3b0fa 100644 --- a/_includes/image.html +++ b/_includes/image.html @@ -1 +1 @@ -
{% if {{include.url}} %}{% endif %}{{include.alt}}{% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
{{include.caption}}
{% endif %} +
{% if {{include.url}} %}{% endif %}{{include.alt}}{% if {{include.url}} %}{% endif %}{% if {{include.caption}} %}
{{include.caption}}
{% endif %}