mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 10:15:02 +00:00
feat: Table: rename src -> path
This commit is contained in:
1 parent
44819d4299
commit
437c4f0fde
1 file changed
+4
-4
@@ -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>
|
||||
Reference in new issue
Block a user