From f3e437d0f21e4e9ebbdd6d61bd9988e0d5619030 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 27 Jan 2018 22:38:55 +0000 Subject: [PATCH] Add figure shortcode --- layouts/shortcodes/figure.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 layouts/shortcodes/figure.html diff --git a/layouts/shortcodes/figure.html b/layouts/shortcodes/figure.html new file mode 100644 index 0000000..38c727a --- /dev/null +++ b/layouts/shortcodes/figure.html @@ -0,0 +1,10 @@ +{{ if .Inner }} +
+ +
+ {{ .Inner }} +
+
+{{ else }} + +{{ end }}