From: Duncan Beevers Date: Thu, 8 Aug 2013 23:13:03 +0000 (-0700) Subject: Added .Content variable to docs X-Git-Tag: v0.9~171^2~3^2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=04a0dbbf;p=brevno-suite%2Fhugo Added .Content variable to docs --- diff --git a/docs/content/doc/variables.md b/docs/content/doc/variables.md index b5092f86..27f4c66a 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: