SetContent(bool?) Method
Sets the content of the result document(s) to the content of the corresponding query result, optionally specifying whether inner or outer HTML content should be used. The default is null, which does not add any content to the result documents (only metadata).
Namespace
Statiq.Core
Containing Type
QueryHtml

Syntax

public QueryHtml SetContent(bool? outerHtml = true)

Parameters

Name Type Description
outerHtml bool? If set to true, outer HTML content is used for the document content. If set to false, inner HTML content is used for the document content. If null, no document content is set.

Return Value

Type Description
QueryHtml The current module instance.