Razor.

IgnorePrefix(string) Method

Summary

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.
Assembly
Wyam.Razor.dll
Namespace
Wyam.Razor
Containing Type
Razor

Syntax

public Razor IgnorePrefix(string prefix)

Parameters

Name Type Description
prefix string The file prefix to ignore.

Return Value

Type Description
Razor The current module instance.
GitHub