ref: 91771ee3b653ba6e9556553d8cfb112e07e71be9
parent: b0b6a8c7acf85a7b08ead56df81caeeea0ffff3b
author: David Oliver <[email protected]>
date: Sat Nov 28 15:26:01 EST 2015
Add Draft page variable to docs Also tweaks language used in page params sentence.
--- a/docs/content/templates/variables.md
+++ b/docs/content/templates/variables.md
@@ -50,6 +50,7 @@
**.ReadingTime** The estimated time it takes to read the content in minutes.<br>
**.Weight** Assigned weight (in the front matter) to this content, used in sorting.<br>
**.RawContent** Raw Markdown content without the metadata header. Useful with [remarkjs.com](http://remarkjs.com)<br>
+**.Draft** A boolean, `true` if the content is marked as a draft in the front matter.<br>
**.IsNode** Always false for pages.<br>
**.IsPage** Always true for page.<br>
**.Site** See [Site Variables]({{< relref "#site-variables" >}}) below.<br>
@@ -58,7 +59,7 @@
## Page Params
Any other value defined in the front matter, including taxonomies, will be made available under `.Params`.
-Take for example I'm using *tags* and *categories* as my taxonomies. The following would be how I would access them:
+For example, the *tags* and *categories* taxonomies are accessed with:
* **.Params.tags**
* **.Params.categories**