mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge pull request #21 from duncanbeevers/master
Added .Content variable to docs
This commit is contained in:
@@ -16,6 +16,7 @@ are available in the context for the templates.
|
|||||||
**.RSSLink** Link to the indexes' rss link <br>
|
**.RSSLink** Link to the indexes' rss link <br>
|
||||||
**.Prev** Pointer to the previous content (based on pub date)<br>
|
**.Prev** Pointer to the previous content (based on pub date)<br>
|
||||||
**.Next** Pointer to the following 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`.
|
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:
|
Take for example I'm using tags and categories as my indexes. The following would be how I would access them:
|
||||||
|
Reference in New Issue
Block a user