ref: 7a13434dd949b975f41abf5cd08d71f2d3e931e8
parent: 6a5e4b363a010b404691a857e5c77eee0d66a9f7
parent: 04a0dbbf739278308ec4ac342474e0573717c113
author: Steve Francia <[email protected]>
date: Thu Aug 8 22:15:50 EDT 2013
Merge pull request #21 from duncanbeevers/master Added .Content variable to docs
--- a/docs/content/doc/variables.md
+++ b/docs/content/doc/variables.md
@@ -6,7 +6,7 @@
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. <br>
+**.Title** The title for the content.<br>
**.Description** The description for the content.<br>
**.Keywords** The meta keywords for this content.<br>
**.Date** The date the content is published on.<br>
@@ -16,6 +16,7 @@
**.RSSLink** Link to the indexes' rss link <br>
**.Prev** Pointer to the previous content (based on pub date)<br>
**.Next** Pointer to the following content (based on pub date)<br>
+**.Content** The content itself, defined below the front matter.<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: