summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/all-content.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/all-content.html')
-rw-r--r--layouts/shortcodes/all-content.html46
1 files changed, 37 insertions, 9 deletions
diff --git a/layouts/shortcodes/all-content.html b/layouts/shortcodes/all-content.html
index fe160d3..567599f 100644
--- a/layouts/shortcodes/all-content.html
+++ b/layouts/shortcodes/all-content.html
@@ -5,14 +5,42 @@
<nav class="all-updates">
<h2>{{ $caption }}</h2>
- <ul>
- {{- range
- (where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByTitle }}
-
- <li><a href="{{ .Permalink }}">{{ .Title }}</a>
- {{- end }}
-
+ <style>
+ td {
+ padding: 5px;
+ border: 1px groove #000;
+
+ }
+ tr:nth-child(odd) {
+ }
+ </style>
+ <table style="
+ border: 1px groove #000;
+ width: 100%;
+ table-layout: fixed;
+ ">
+ <thead>
+ <tr>
+ <td><b>Title</b></td>
+ <td style="
+ width: 50px;
+ text-align: center;
+ "
+ ><b>RTG</b></td>
+ </thead>
+ <tbody>
+ {{- range
+(where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByTitle }}
- </ul>
-
+ <tr>
+ <td><a href="{{ .Permalink }}">{{ .Title }}</td>
+ <td style="
+ width: 50px;
+ text-align: center;
+ "
+ >{{ .Params.Rating}}</td>
+ </tr>
+ {{- end }}
+ </tbody>
+</table>
</nav>