Back to Hugo

ContentWithoutSummary

docs/content/en/methods/page/ContentWithoutSummary.md

0.161.1468 B
Original Source

{{< 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.

go-html-template
{{ .ContentWithoutSummary }}

The ContentWithoutSummary method returns the same as Content if you define the content summary in front matter.