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

github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-09 10:50:49 +0300
committerZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-09 10:50:49 +0300
commitfd2a824010e0a583bfc7883bcb6b7cde94b5108a (patch)
tree520466ba878421a736145c4811e675416175e285 /README.md
parentade7ae5a318680d859f74e17e6ff16ec5b2ce1bb (diff)
table sorting all works
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
index bb2f5b8..439edbd 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ Outrun with the power of a potato. Based on the Potato Dark theme with CSS bits
* Inlined CSS for customizable colors via config.
* Outrun inspired foreground colors on a dark background, by default.
* Can turn of pagination.
+* The ability to enable sorting of tables for pages.
Use short code for Image Zoom.
@@ -59,3 +60,28 @@ no_pagination = true
A rutting about page.
```
+
+### Sortable Tables
+
+So lets say you want to make the tables on a page sortable, you can now do this.
+You can do this, by setting the Front Matter value "sort_tables" to true and in
+the header it will include a link to a JS script in the js dir that does this.
+
+Below is a org mode example with sortable tables.
+
+```
+---
+title: "Tables"
+date: 2018-09-02T22:41:40-05:00
+draft: false
+sort_tables: true
+---
+
+| a | b | c | d | e |
+|---+---+------------+---+---|
+| 1 | f | 2017-03-14 | | |
+| 2 | b | 2018-02-14 | | |
+| 3 | e | 2017-03-15 | 4 | |
+| 4 | d | 2012-03-14 | | 3 |
+
+```