From ca0b1f7ea691012234a642d8f90e7617f21f7ffe Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 19 May 2016 14:44:00 -0700 Subject: [PATCH] Add note about {{ layout }} to site. --- site/_docs/variables.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/site/_docs/variables.md b/site/_docs/variables.md index 60323886..f068aeb6 100644 --- a/site/_docs/variables.md +++ b/site/_docs/variables.md @@ -40,6 +40,16 @@ following is a reference of the available data.

+ +

layout

+

+ + Layout specific information + the YAML front + matter. Custom variables set via the YAML Front Matter in + layouts will be available here. + +

+

content

@@ -326,6 +336,14 @@ following is a reference of the available data. page.custom_css.

+

+ + If you specify front matter in a layout, access that via page + For example, if you specify class: full_page + in a page’s front matter, that value will be available as + layout.class in the layout and its parents. + +

## Paginator