From: Daniel Alan Miller Date: Thu, 29 Aug 2013 12:22:19 +0000 (+0930) Subject: Adding .Summary to page variables X-Git-Tag: v0.9~135 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=71678a7183bd9b90f121d9116d1363fe8f914045;p=brevno-suite%2Fhugo Adding .Summary to page variables Signed-off-by: Noah Campbell --- diff --git a/docs/content/layout/variables.md b/docs/content/layout/variables.md index 9e811551..226ebb3a 100644 --- 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)
**.Site** See site variables below
**.Content** The content itself, defined below the front matter.
+**.Summary** A generated summary of the content for easily showing a snippet in a summary view.
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: