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