Indicates whether the host should be automatically included
in generated links (the default is
false).
- Namespace
- Statiq
.Lunr - Containing Type
- GenerateLunrIndex
Syntax
public GenerateLunrIndex IncludeHostInLinks(bool includeHostInLinks = true)
Parameters
| Name | Type | Description |
|---|---|---|
| includeHostInLinks | bool |
true to include the host in generate links, false to generate relative paths.
|
Return Value
| Type | Description |
|---|---|
| GenerateLunrIndex | The current module instance. |