hugolib: A little more on shortcode ordinal

This commit is contained in:
Bjørn Erik Pedersen 2018-05-27 21:34:05 +02:00
parent 7a6192647a
commit 2174525cec
No known key found for this signature in database
GPG Key ID: 330E6E2BD4859D8F
1 changed files with 2 additions and 1 deletions

View File

@ -41,7 +41,8 @@ type ShortcodeWithPage struct {
Parent *ShortcodeWithPage
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
scratch *Scratch