Gets a guaranteed set of page file extensions (with a preceding "."), returning a default of ".html", ".htm"
if
PageFileExtensions is not defined or is empty.
- Namespace
- Statiq
.Common - Containing Type
- I
Read Only Settings Extensions
Syntax
public static string[] GetPageFileExtensions(this IReadOnlySettings settings)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | IReadOnlySettings | The settings. |
Return Value
| Type | Description |
|---|---|
| string[] | The page file extensions. |