summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/fig.html
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-01-01 17:36:39 +0200
committerJan Tuomi <jan@jantuomi.fi>2026-01-02 16:21:05 +0200
commitc1856d1f3edbc4b32be5860233dede88db16a7bb (patch)
treeb3a5e2f600c0079bd04d7ab2bb459b4664ba66a1 /templates/shortcodes/fig.html
parent6d7e34af89ef1038d213ff8ea325bb84d4a00d4a (diff)
Start migrating content
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>