mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 04:02:38 +00:00
659 B
659 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RawContent | Returns the raw content of the given page. |
|
The RawContent method on a Page object returns the raw content. The raw content does not include front matter.
{{ .RawContent }}
This is useful when rendering a page in a plain text output format.
Note
Shortcodes within the content are not rendered. To get the raw content with shortcodes rendered, use the
RenderShortcodesmethod on aPageobject.