From c3cc0d5e7bdf28f947e15020b016ceb51318f165 Mon Sep 17 00:00:00 2001 From: Septs Date: Mon, 13 Dec 2021 04:46:41 +0800 Subject: [PATCH] fix csv table shortcode --- layouts/shortcodes/csv-table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -}}
{{- . -}}
{{- . -}}