diff --git a/layouts/shortcodes/csv-table.html b/layouts/shortcodes/csv-table.html index 1c7af944..2b636ee5 100644 --- a/layouts/shortcodes/csv-table.html +++ b/layouts/shortcodes/csv-table.html @@ -4,8 +4,8 @@ {{ with $caption }}{{ end }} {{ if $useHeaderRow -}} -{{- $rows = after 1 $rows -}} {{ range (index $rows 0) }}{{ end }} +{{- $rows = after 1 $rows -}} {{ end -}} {{ range $rows -}}
{{- . -}}
{{- . -}}