Skip to content

Commit 5df6b8b

Browse files
committed
Clarify some doc
1 parent 66734b5 commit 5df6b8b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/content/documentation/content/shortcodes.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,12 @@ This is useful for presenting/filtering information in a shortcode depending in
199199

200200
### `page` or `section`
201201
You can access a slighty stripped down version of the equivalent variables in the normal templates.
202-
The only things missing are translations, backlinks and pages for sections as we are still in the middle of processing.
202+
The following attributes will be empty:
203+
- translations
204+
- backlinks
205+
- pages
206+
207+
(Note: this is because the rendering of markdown is done before populating the sections)
203208

204209
A useful attribute to `page` in shortcodes is `colocated_path`.
205210
This is used when you want to pass the name of some assets to shortcodes without repeating the full folders path.

0 commit comments

Comments
 (0)