From d451e7362aa1a0f800c327a40c8b3bc121f41501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Mart=C3=ADnez=20Rinc=C3=B3n?= Date: Thu, 13 Jun 2019 17:41:46 +0200 Subject: [PATCH] Update documentation on page variables * Update documentation on page variables * Add resources variable * Add aliases variable --- content/en/variables/page.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/variables/page.md b/content/en/variables/page.md index 2e1beb6cb..e538096f3 100644 --- a/content/en/variables/page.md +++ b/content/en/variables/page.md @@ -30,6 +30,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables. .AlternativeOutputFormats : contains all alternative formats for a given page; this variable is especially useful `link rel` list in your site's ``. (See [Output Formats](/templates/output-formats/).) +.Aliases +: aliases of this page + .Content : the content itself, defined below the front matter. @@ -133,6 +136,9 @@ http://remarkjs.com) .ReadingTime : the estimated time, in minutes, it takes to read the content. +.Resources +: resources such as images and CSS that are associated with this page + .Ref : returns the permalink for a given reference (e.g., `.Ref "sample.md"`). `.Ref` does *not* handle in-page fragments correctly. See [Cross References](/content-management/cross-references/). @@ -164,6 +170,9 @@ http://remarkjs.com) .Translations : a list of translated versions of the current page. See [Multilingual Mode](/content-management/multilingual/) for more information. +.TranslationKey +: the key used to map language translations of the current page. See [Multilingual Mode](/content-management/multilingual/) for more information. + .Truncated : a boolean, `true` if the `.Summary` is truncated. Useful for showing a "Read more..." link only when necessary. See [Summaries](/content-management/summaries/) for more information.