commit 71678a7183bd9b90f121d9116d1363fe8f914045
parent 3ab5245049a74b5d53d80a24e4bf9c60db7fce07
Author: Daniel Alan Miller <dalan.miller@gmail.com>
Date: Thu, 29 Aug 2013 21:52:19 +0930
Adding .Summary to page variables
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/docs/content/layout/variables.md b/docs/content/layout/variables.md
@@ -21,6 +21,7 @@ are available in the context for the templates.
**.Next** Pointer to the following content (based on pub date)<br>
**.Site** See site variables below<br>
**.Content** The content itself, defined below the front matter.<br>
+**.Summary** A generated summary of the content for easily showing a snippet in a summary view.<br>
Any value defined in the front matter, including indexes will be made available under `.Params`.
Take for example I'm using tags and categories as my indexes. The following would be how I would access them: