mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-15 20:15:31 +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. */}}
|
{{/* Table Shortcode for Wowchemy. */}}
|
||||||
{{/* Load table from page dir falling back back to remote URL */}}
|
{{/* Load a CSV table from page dir falling back back to remote URL */}}
|
||||||
{{/* Supports delimiter separated files. The default delimiter is ',' */}}
|
{{/* Defaults to expecting a comma-separated CSV with a header row. */}}
|
||||||
|
|
||||||
{{ $src := .Get "src" }}
|
{{ $src := .Get "path" }}
|
||||||
{{ $delimiter := .Get "delimiter" | default "," }}
|
{{ $delimiter := .Get "delimiter" | default "," }}
|
||||||
{{ $useHeaderRow := .Get "header" | default true }}
|
{{ $useHeaderRow := .Get "header" | default true }}
|
||||||
{{ $caption := .Get "caption" }}
|
{{ $caption := .Get "caption" }}
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
{{ if $caption }}
|
{{ if $caption }}
|
||||||
<caption>{{ $caption | markdownify | emojify }}</caption>
|
<caption>{{ $caption | markdownify | emojify }}</caption>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</table>
|
</table>
|
||||||
Reference in new issue
Block a user