HUGO
Menu
GitHub 87548 stars Mastodon

ContentWithoutSummary

返回给定页面的渲染内容,不包括内容摘要。

Syntax

PAGE.ContentWithoutSummary

Returns

template.HTML
New in v0.134.0

当使用手动或自动 内容摘要 时,Page 对象上的 ContentWithoutSummary 方法将 Markdown 和短代码渲染为 HTML,结果中不包括内容摘要。

{{ .ContentWithoutSummary }}

如果在 front matter 中定义内容摘要,ContentWithoutSummary 方法返回与 Content 相同的内容。


Last updated: January 1, 0001
Improve this page