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.
+
+