From e993539f05943a802f1d7a37e2e74cef208c6d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 11 Mar 2022 17:22:18 +0100 Subject: [PATCH] Update shortcodes.md --- content/en/variables/shortcodes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/variables/shortcodes.md b/content/en/variables/shortcodes.md index 7462deec7..14eb2aca2 100644 --- a/content/en/variables/shortcodes.md +++ b/content/en/variables/shortcodes.md @@ -26,15 +26,15 @@ toc: false .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. +.Page +: The owning ´Page`. + .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. .Position : Contains [filename and position](https://godoc.org/github.com/gohugoio/hugo/common/text#Position) for the shortcode in a page. Note that this can be relatively expensive to calculate, and is meant for error reporting. See [Error Handling in Shortcodes](/templates/shortcode-templates/#error-handling-in-shortcodes). - - - .IsNamedParams : boolean that returns `true` when the shortcode in question uses [named rather than positional parameters][shortcodes]