aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-02-01 21:28:11 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-02-01 21:28:11 +0800
commit5a5d0fe0d9d144af434f8d6277a7bdc85eda2db4 (patch)
tree9980c868cd63502797e7cc7e5fd1dd6961942344 /layouts
parenta6e116452f8d3f0e043107a1e0d047256514457b (diff)
feat: add `center`, `right`, `left` shortcodes
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/center.html3
-rw-r--r--layouts/shortcodes/left.html3
-rw-r--r--layouts/shortcodes/right.html3
3 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/center.html b/layouts/shortcodes/center.html
new file mode 100644
index 0000000..e9022d0
--- /dev/null
+++ b/layouts/shortcodes/center.html
@@ -0,0 +1,3 @@
+<div class='align-center'>
+ {{ .Inner }}
+</div> \ No newline at end of file
diff --git a/layouts/shortcodes/left.html b/layouts/shortcodes/left.html
new file mode 100644
index 0000000..c2c5102
--- /dev/null
+++ b/layouts/shortcodes/left.html
@@ -0,0 +1,3 @@
+<div class='align-left'>
+ {{ .Inner }}
+</div> \ No newline at end of file
diff --git a/layouts/shortcodes/right.html b/layouts/shortcodes/right.html
new file mode 100644
index 0000000..37a9a33
--- /dev/null
+++ b/layouts/shortcodes/right.html
@@ -0,0 +1,3 @@
+<div class='align-right'>
+ {{ .Inner }}
+</div> \ No newline at end of file