mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
1 parent
6612dd1b82
commit
b8f84ac594
1 file changed
+3
@@ -20,6 +20,9 @@ toc: false
|
|||||||
|
|
||||||
[Shortcodes][shortcodes] have access to parameters delimited in the shortcode declaration via [`.Get`][getfunction], page- and site-level variables, and also the following shortcode-specific fields:
|
[Shortcodes][shortcodes] have access to parameters delimited in the shortcode declaration via [`.Get`][getfunction], page- and site-level variables, and also the following shortcode-specific fields:
|
||||||
|
|
||||||
|
.Name
|
||||||
|
: Shortcode name.
|
||||||
|
|
||||||
.Ordinal
|
.Ordinal
|
||||||
: Zero-based ordinal in relation to its parent. If the parent is the page itself, this ordinal will represent the position of this shortcode in the page content.
|
: Zero-based ordinal in relation to its parent. If the parent is the page itself, this ordinal will represent the position of this shortcode in the page content.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user