diff options
author | Julian <julian@vantage-design.com> | 2020-05-11 16:37:41 +0300 |
---|---|---|
committer | Julian <julian@vantage-design.com> | 2020-05-11 21:02:38 +0300 |
commit | 77bc07e535792efe8f01b31ef3d8761e1cf27692 (patch) | |
tree | bfe20da4d781265bc0bc4736a90170fbe7b2289c /layouts | |
parent | 9cf3ca6c07d1d9489359aa514d7cd8a947786f89 (diff) |
Added table shortcode for styled tables
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/table.html | 4 |
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> |