summaryrefslogtreecommitdiffstats
path: root/docs/content/en/variables
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-11 22:32:19 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-11 22:32:19 +0200
commite02629f81ab5f817a95cf0ffec8f0aa2016294aa (patch)
treef71600b94849c70165c12d6a84d0b5db9d860d66 /docs/content/en/variables
parented4a345efeaa19eef2c1c6360d22f75c24abc31a (diff)
parentb239595af5a9fc1fc9a1ccc666c3ab06ccc32f04 (diff)
Diffstat (limited to 'docs/content/en/variables')
-rw-r--r--docs/content/en/variables/shortcodes.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/variables/shortcodes.md b/docs/content/en/variables/shortcodes.md
index b194eb7db..3484df7a0 100644
--- a/docs/content/en/variables/shortcodes.md
+++ b/docs/content/en/variables/shortcodes.md
@@ -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:
+.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.
+
.Parent
: provides access to the parent shortcode context in nested shortcodes. This can be very useful for inheritance of common shortcode parameters from the root.