summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes/cat_kill_log_table.html
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-22 10:30:28 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-22 10:30:28 +0100
commit8eaea048978bc115021ca9942fdbaf89c7072ff4 (patch)
tree8d9306445817fd2010d0b635caa6f37ed8848ac5 /layouts/shortcodes/cat_kill_log_table.html
parentcfa95961c49383469869bb9c868e8a9ef27bbd19 (diff)
using a shortcode for cat kill data!
Diffstat (limited to '')
-rw-r--r--layouts/shortcodes/cat_kill_log_table.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/layouts/shortcodes/cat_kill_log_table.html b/layouts/shortcodes/cat_kill_log_table.html
new file mode 100644
index 0000000..6c3246a
--- /dev/null
+++ b/layouts/shortcodes/cat_kill_log_table.html
@@ -0,0 +1,35 @@
+<table>
+ <colgroup>
+ <col span="1" style="width: 10%;">
+ <col span="1" style="width: 5%;">
+ <col span="1" style="width: 15%;">
+ <col span="1" style="width: 15%;">
+ <col span="1" style="width: 15%;">
+ <col span="1" style="width: 5%;">
+ <col span="1" style="width: 40%;">
+ </colgroup>
+ <thead>
+ <tr class="header" style="background-color: lightgray;">
+ <th>Date</th>
+ <th>Super species</th>
+ <th>Specific species</th>
+ <th>Kill Type</th>
+ <th>Killer</th>
+ <th>Suspect Killer</th>
+ <th style="width:60%">Comments</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range .Site.Data.cat_kills.cat_kills }}
+ <tr>
+ <td>{{ .date }}</td>
+ <td>{{ .super_species }}</td>
+ <td>{{ .specific_species }}</td>
+ <td>{{ .kill_type }}</td>
+ <td>{{ .killer }}</td>
+ <td>{{ .suspect_killer }}</td>
+ <td>{{ .comments }}</td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>