IgnorePrefix(string) Method
Specifies a file prefix to ignore. If a document has a metadata value for SourceFileName and that metadata value starts with the specified prefix, that document will not be processed or output by the module. By default, the Razor module ignores all documents prefixed with an underscore (_). Specifying null will result in no documents being ignored.
Namespace
Statiq.Razor
Containing Type
RenderRazor

Syntax

public RenderRazor IgnorePrefix(string prefix)

Parameters

Name Type Description
prefix string The file prefix to ignore.

Return Value

Type Description
RenderRazor The current module instance.