Add .Page.CurrentSection and .Page.Sections documentation

This commit is contained in:
Thomas Parisot
2017-11-04 10:38:23 +00:00
committed by digitalcraftsman
parent 60b4414dec
commit 62df7bb805
+6
View File
@@ -32,6 +32,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
`.Content`
: 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`
: the data specific to this type of page.
@@ -145,6 +148,9 @@ http://remarkjs.com)
`.Section`
: the [section](/content-management/sections/) this content belongs to.
`.Sections`
: the [sections](/content-management/sections/) below this content.
`.Site`
: see [Site Variables](/variables/site/).