From 559e2c1cc05f31d6cf52231ecabd94be2d0f1daa Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sat, 24 Aug 2024 11:21:26 -0700 Subject: Add Caption and Links to img/imgswap --- templates/shortcodes/img.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/shortcodes/img.html') diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index ac3ba6b..108b16c 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -44,4 +44,6 @@ {%- if not alt %} {%- set alt = img | split(pat=".") | first %} {%- endif %} - +{%- if caption %}
{% endif -%} +{%- if link %}{% endif %}{% if link %}{% endif -%} +{%- if caption %}
{{caption}}
{%- endif %} -- cgit v1.3.1