summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/columns.html
diff options
context:
space:
mode:
authorBrandon <brandon@btkoch.xyz>2024-10-26 19:51:38 -0400
committerBrandon <brandon@btkoch.xyz>2024-10-26 19:51:38 -0400
commitcd0279d2787bbf265e12e309b8a61489c727bb2a (patch)
tree929cb425266bb2224665c1c989bffebe2d172f4f /layouts/shortcodes/columns.html
create repo
Diffstat (limited to 'layouts/shortcodes/columns.html')
-rw-r--r--layouts/shortcodes/columns.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/shortcodes/columns.html b/layouts/shortcodes/columns.html
new file mode 100644
index 0000000..536e87e
--- /dev/null
+++ b/layouts/shortcodes/columns.html
@@ -0,0 +1,7 @@
+<div class="md-columns">
+{{ range split .Inner "<--->" }}
+{{ printf "<div class=\"markdown-inner\">" | htmlUnescape | safeHTML }}
+{{ . | safeHTML }}
+{{ printf "</div>" | htmlUnescape | safeHTML }}
+{{ end }}
+</div>