hugo/docs/content/en/methods/page/ContentWithoutSummary.md
2024-09-04 18:57:34 +02:00

885 B

title description categories keywords action
ContentWithoutSummary Returns the rendered content of the given page, excluding the content summary.
related returnType signatures
methods/page/Content
methods/page/Summary
methods/page/RawContent
methods/page/Plain
methods/page/PlainWords
methods/page/RenderShortcodes
template.HTML
PAGE.ContentWithoutSummary

{{< new-in 0.134.0 >}}

Applicable when using manual or automatic content summaries, the ContentWithoutSummary method on a Page object renders Markdown and shortcodes to HTML, excluding the content summary from the result.

{{ .ContentWithoutSummary }}

The ContentWithoutSummary method returns an empty string if you define the content summary in front matter.