Uses a delegate to describe where to find the sidecar file for each input document.
If a sidecar file is found, it's content is passed to the specified child modules for processing.
- Namespace
- Statiq
.Core - Containing Type
- ProcessSidecarFile
Syntax
public ProcessSidecarFile(Config<NormalizedPath> sidecarPath, params IModule[] modules)
Parameters
Name | Type | Description |
---|---|---|
sidecarPath | Config |
A delegate that returns a NormalizedPath with the desired sidecar path. |
modules | IModule[] | The modules to execute against the sidecar file. |