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

github.com/amzrk2/hugo-theme-fuji.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramzrk2 <amzrk2@outlook.com>2020-07-19 13:55:37 +0300
committeramzrk2 <amzrk2@outlook.com>2020-07-19 13:55:37 +0300
commit007f3ba1c9a9a80a13156bd148cc4ad87af8c5a9 (patch)
tree0219a4e7b7407fc32f751939a33d965e52138153 /layouts
parentca1b39119cd3551797e2e1b14c2166b5d694cde9 (diff)
Dense table support
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/table-dense.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/table-dense.html b/layouts/shortcodes/table-dense.html
new file mode 100644
index 0000000..6c77418
--- /dev/null
+++ b/layouts/shortcodes/table-dense.html
@@ -0,0 +1,3 @@
+{{ $htmlTable := .Inner | markdownify }}
+{{ $htmlTable := replace $htmlTable "<table>" "<table class=\"table-dense\">" }}
+{{ $htmlTable | safeHTML }} \ No newline at end of file