summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes')
-rw-r--r--templates/shortcodes/figure.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html
index 7fb4123..f21dcce 100644
--- a/templates/shortcodes/figure.html
+++ b/templates/shortcodes/figure.html
@@ -1,5 +1,5 @@
<div class="figure">
- <img src="/{{ page.path | safe }}{{ img }}">
+ <img src="/{{ page.path | safe }}{{ img }}" {% if alt %}alt="[{{ alt }}]"{% endif %}>
<div class="caption">
{{ body }}
</div>