summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/figure.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/figure.html')
-rw-r--r--templates/shortcodes/figure.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/shortcodes/figure.html b/templates/shortcodes/figure.html
new file mode 100644
index 0000000..7fb4123
--- /dev/null
+++ b/templates/shortcodes/figure.html
@@ -0,0 +1,6 @@
+<div class="figure">
+ <img src="/{{ page.path | safe }}{{ img }}">
+ <div class="caption">
+ {{ body }}
+ </div>
+</div>