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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/pure_table.html')
-rw-r--r--layouts/shortcodes/pure_table.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/shortcodes/pure_table.html b/layouts/shortcodes/pure_table.html
deleted file mode 100644
index 91236bc..0000000
--- a/layouts/shortcodes/pure_table.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{{ $fields := (index .Params 0) }}
-{{ $data := after 1 .Params }}
-
-<table class="pure-table pure-table-striped">
- <thead><tr>
- {{ range split $fields "|"}}
- <th>{{ . }}</th>
- {{ end }}
- </thead></tr>
- <tbody>
- {{ range $data}}
- <tr>
- {{ $items := split . "|" }}
- {{ range $items }}
- <td>{{ . }}</td>
- {{ end }}
- </tr>
- {{ end }}
- </tbody>
-</table> \ No newline at end of file