feat: Table: rename src -> path

This commit is contained in:
George Cushen committed 2021-08-07 13:29:04 +01:00
1 parent 44819d4299
commit 437c4f0fde
1 file changed
+4 -4
+4 -4
View File
@@ -1,8 +1,8 @@
{{/* Table Shortcode for Wowchemy. */}}
{{/* Load table from page dir falling back back to remote URL */}}
{{/* Supports delimiter separated files. The default delimiter is ',' */}}
{{/* Load a CSV table from page dir falling back back to remote URL */}}
{{/* Defaults to expecting a comma-separated CSV with a header row. */}}
{{ $src := .Get "src" }}
{{ $src := .Get "path" }}
{{ $delimiter := .Get "delimiter" | default "," }}
{{ $useHeaderRow := .Get "header" | default true }}
{{ $caption := .Get "caption" }}
@@ -33,4 +33,4 @@
{{ if $caption }}
<caption>{{ $caption | markdownify | emojify }}</caption>
{{ end }}
</table>
</table>