summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/fig.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/fig.html')
-rw-r--r--templates/shortcodes/fig.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/shortcodes/fig.html b/templates/shortcodes/fig.html
new file mode 100644
index 0000000..4ac99b4
--- /dev/null
+++ b/templates/shortcodes/fig.html
@@ -0,0 +1,4 @@
+<figure>
+ <img src="{{ src }}" alt="{{ alt }}" />
+ <figcaption aria-hidden="true">{{ alt }}</figcaption>
+</figure>