HUGO
News Docs Themes Community GitHub

ContentWithoutSummary

Returns the rendered content of the given page, excluding the content summary.

Syntax

PAGE.ContentWithoutSummary

Returns

template.HTML
New in v0.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 the same as Content if you define the content summary in front matter.