Controls where the redirected paths come from. By default, values from the metadata
key
RedirectFrom are used.
- Namespace
- Statiq
.Core - Containing Type
- GenerateRedirects
Syntax
public GenerateRedirects WithPaths(Config<IReadOnlyList<NormalizedPath>> paths)
Parameters
| Name | Type | Description |
|---|---|---|
| paths | Config |
A delegate that should return one or more NormalizedPath. |
Return Value
| Type | Description |
|---|---|
| GenerateRedirects | The current module instance. |