Add .Page.CurrentSection and .Page.Sections documentation

This commit is contained in:
Thomas Parisot authored and digitalcraftsman committed 2017-11-04 11:38:23 +01:00
1 parent 60b4414dec
commit 62df7bb805
1 file changed
+6
+6
View File
@@ -32,6 +32,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
`.Content` `.Content`
: the content itself, defined below the front matter. : the content itself, defined below the front matter.
`.CurrentSection`
: the page's current section. The value can be the page itself if it is a section or the homepage.
`.Data` `.Data`
: the data specific to this type of page. : the data specific to this type of page.
@@ -145,6 +148,9 @@ http://remarkjs.com)
`.Section` `.Section`
: the [section](/content-management/sections/) this content belongs to. : the [section](/content-management/sections/) this content belongs to.
`.Sections`
: the [sections](/content-management/sections/) below this content.
`.Site` `.Site`
: see [Site Variables](/variables/site/). : see [Site Variables](/variables/site/).