Skip to content

Commit

Permalink
Add .Page.CurrentSection and .Page.Sections documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Parisot authored and digitalcraftsman committed Nov 4, 2017
1 parent 60b4414 commit 62df7bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions content/variables/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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/).

Expand Down

0 comments on commit 62df7bb

Please sign in to comment.