diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-22 16:17:55 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-22 16:17:55 +0200 |
commit | c80bd79dcd8a4bea3a15061dc6e17a46d374d485 (patch) | |
tree | 3f3f0caf226ae23115e71edf8f9949ab2ea82d58 /layouts/shortcodes | |
parent | cf6720efadb6e3a4fc70499424ab6a754a9f22a7 (diff) |
#39, Add multi-column shortcode
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/column.html | 10 |
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 }} |