diff options
Diffstat (limited to 'layouts/shortcodes/review-table.html')
-rw-r--r-- | layouts/shortcodes/review-table.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layouts/shortcodes/review-table.html b/layouts/shortcodes/review-table.html new file mode 100644 index 0000000..4460525 --- /dev/null +++ b/layouts/shortcodes/review-table.html @@ -0,0 +1,30 @@ + + <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 ".Section" "intersect" (slice .Section)).ByTitle }} + + <tr> + <td><a href="{{ .Permalink }}">{{ .Title }}</td> + <td style=" + width: 50px; + text-align: center; + " + >{{ .Params.Rating}}</td> + </tr> + {{- end }} + </tbody> +</table> |