RawContent
Returns the raw content of the given page.
Syntax
PAGE.RawContent
Returns
string
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.
Shortcodes within the content are not rendered. To get the raw content with shortcodes rendered, use the RenderShortcodes method on a Page object.
Last updated:
April 10, 2025
:
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65' (283e97783)
Improve this page