summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes/figure.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-05-30 20:07:21 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-05-30 20:07:21 +0200
commit164c306795577ec7667d338c28a7544bbb8c241b (patch)
tree3607fdeaeeee57505fa547041a4cfd33a827abca /templates/shortcodes/figure.html
downloadrabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.gz
rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.bz2
rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.zip
et up baseic structure for homepage/blog with Zola
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>