aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/column.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/column.html')
-rw-r--r--layouts/shortcodes/column.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/shortcodes/column.html b/layouts/shortcodes/column.html
new file mode 100644
index 0000000..1951150
--- /dev/null
+++ b/layouts/shortcodes/column.html
@@ -0,0 +1,10 @@
+{{ if .Inner }}
+<div class="flex">
+ <div class="flex-even">
+ {{ .Inner | markdownify }}
+ </div>
+</div>
+{{ else }}
+ </div> <!-- close current column -->
+ <div class="flex-even"> <!-- open new column -->
+{{ end }}