2024-01-27 04:48:33 -05:00
|
|
|
---
|
|
|
|
title: Content
|
|
|
|
description: Returns the rendered content of the given page.
|
|
|
|
categories: []
|
|
|
|
keywords: []
|
|
|
|
action:
|
|
|
|
related:
|
2024-09-04 12:52:05 -04:00
|
|
|
- methods/page/Summary
|
|
|
|
- methods/page/ContentWithoutSummary
|
2024-01-27 04:48:33 -05:00
|
|
|
- methods/page/RawContent
|
|
|
|
- methods/page/Plain
|
|
|
|
- methods/page/PlainWords
|
|
|
|
- methods/page/RenderShortcodes
|
|
|
|
returnType: template.HTML
|
|
|
|
signatures: [PAGE.Content]
|
|
|
|
---
|
|
|
|
|
2024-09-04 12:52:05 -04:00
|
|
|
The `Content` method on a `Page` object renders Markdown and shortcodes to HTML.
|
2024-01-27 04:48:33 -05:00
|
|
|
|
|
|
|
```go-html-template
|
|
|
|
{{ .Content }}
|
|
|
|
```
|