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上的方法Page将 Markdown 和短代码呈现为 HTML,从结果中排除内容摘要。
{{ .ContentWithoutSummary }}
The ContentWithoutSummary
method returns the same as Content
if you define the content summary in front matter.