diff --git a/modules/blox-tailwind/layouts/shortcodes/table.html b/modules/blox-tailwind/layouts/shortcodes/table.html index 37a5e651..42e75a62 100644 --- a/modules/blox-tailwind/layouts/shortcodes/table.html +++ b/modules/blox-tailwind/layouts/shortcodes/table.html @@ -25,12 +25,12 @@ {{ $is_remote := strings.HasPrefix $src "http" }} {{ $rows := transform.Unmarshal (dict "delimiter" $delimiter) (.Page.Resources.Get $src).Content }} - +
{{ if $useHeaderRow }} {{ $headerRow := index $rows 0 }} {{ $rows = after 1 $rows }} - {{ range $headerRow }} {{ end }} + {{ range $headerRow }} {{ end }} {{ end }} @@ -38,9 +38,9 @@ {{ range . }} {{ if (findRE "^\\d+$" .) }} - + {{ else }} - + {{ end }} {{ end }}
{{ . | markdownify | emojify }}
{{ . | markdownify | emojify }}
{{ . }}{{ . }}{{ . | markdownify | emojify }}{{ . | markdownify | emojify }}