Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian <julian@vantage-design.com>2020-05-11 16:37:41 +0300
committerJulian <julian@vantage-design.com>2020-05-11 21:02:38 +0300
commit77bc07e535792efe8f01b31ef3d8761e1cf27692 (patch)
treebfe20da4d781265bc0bc4736a90170fbe7b2289c /layouts
parent9cf3ca6c07d1d9489359aa514d7cd8a947786f89 (diff)
Added table shortcode for styled tables
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/table.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/table.html b/layouts/shortcodes/table.html
new file mode 100644
index 0000000..5413020
--- /dev/null
+++ b/layouts/shortcodes/table.html
@@ -0,0 +1,4 @@
+{{ $style := .Get "style" }}
+<div class="table {{ $style }}" role="alert">
+ {{ print .Inner | markdownify }}
+</div>