From 10ba2f56008745bc0ba44609ff02d7d213bb49fd Mon Sep 17 00:00:00 2001 From: Archit Sharma Date: Sun, 30 Jun 2024 00:41:17 +0530 Subject: [PATCH] table fix Signed-off-by: Archit Sharma --- layouts/shortcodes/csvtable.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/shortcodes/csvtable.html b/layouts/shortcodes/csvtable.html index 8676de23..a80bf20d 100644 --- a/layouts/shortcodes/csvtable.html +++ b/layouts/shortcodes/csvtable.html @@ -1,7 +1,7 @@ {{ $data := "" }} {{ $p := "static/data/csv/keys.csv" }} -{{ $excludedColumns := slice 0 9 10 11 12 13 14 15 16 }} +{{ $excludedColumns := slice 0 10 11 12 13 14 15 16 17 18 }} {{ if os.FileExists $p }} {{ $opts := dict "delimiter" "," }} @@ -47,9 +47,9 @@

{{ $category }} Permissions

{{ if and (gt $i 0) (eq (trim (index $row 0) " ") $category) }} {{ range $j, $cell := $row }} - {{ if and (not (in $excludedColumns $j)) (or (gt $j 2) (lt $j 8)) }} + {{ if and (not (in $excludedColumns $j)) (or (gt $j 2) (lt $j 10)) }} - {{ if and (gt $j 2) (lt $j 8) }} + {{ if and (gt $j 2) (lt $j 10) }} {{ if eq $cell "X" }} ✅ {{ else }}