mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 04:22:06 -05:00
hugolib: A little more on shortcode ordinal
This commit is contained in:
parent
7a6192647a
commit
2174525cec
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ type ShortcodeWithPage struct {
|
||||||
Parent *ShortcodeWithPage
|
Parent *ShortcodeWithPage
|
||||||
IsNamedParams bool
|
IsNamedParams bool
|
||||||
|
|
||||||
// Zero-based oridinal in relation to its parent.
|
// 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.
|
||||||
Ordinal int
|
Ordinal int
|
||||||
|
|
||||||
scratch *Scratch
|
scratch *Scratch
|
||||||
|
|
Loading…
Reference in a new issue