ref: 2174525cec567eb43968f52c9f28118a21fafec2
parent: 7a6192647a4b383cd539df2063388ea380371de6
author: Bjørn Erik Pedersen <[email protected]>
date: Sun May 27 17:34:05 EDT 2018
hugolib: A little more on shortcode ordinal
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -41,7 +41,8 @@
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