From 62df7bb805c927d788b6de00510d7e51d6010860 Mon Sep 17 00:00:00 2001 From: Thomas Parisot Date: Sat, 4 Nov 2017 10:38:23 +0000 Subject: [PATCH] Add .Page.CurrentSection and .Page.Sections documentation --- content/variables/page.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/variables/page.md b/content/variables/page.md index 785da1ecb..7aab07bba 100644 --- a/content/variables/page.md +++ b/content/variables/page.md @@ -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/).