From 04a0dbbf739278308ec4ac342474e0573717c113 Mon Sep 17 00:00:00 2001 From: Duncan Beevers Date: Thu, 8 Aug 2013 16:13:03 -0700 Subject: [PATCH] Added .Content variable to docs --- docs/content/doc/variables.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/variables.md b/docs/content/doc/variables.md index b5092f86d..27f4c66a6 100644 --- a/docs/content/doc/variables.md +++ b/docs/content/doc/variables.md @@ -6,7 +6,7 @@ Pubdate: "2013-07-01" Hugo makes a set of values available to the templates. Go templates are context based. The following are available in the context for the templates. -**.Title** The title for the content.
+**.Title** The title for the content.
**.Description** The description for the content.
**.Keywords** The meta keywords for this content.
**.Date** The date the content is published on.
@@ -16,6 +16,7 @@ are available in the context for the templates. **.RSSLink** Link to the indexes' rss link
**.Prev** Pointer to the previous content (based on pub date)
**.Next** Pointer to the following content (based on pub date)
+**.Content** The content itself, defined below the front matter.
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: