GetIndexFileName(IReadOnlySettings) Method
Gets a guaranteed index file name, returning a default of "index.html" if IndexFileName is not defined or is empty or whitespace.
Namespace
Statiq.Common
Containing Type
IReadOnlySettingsExtensions

Syntax

public static string GetIndexFileName(this IReadOnlySettings settings)

Parameters

Name Type Description
settings IReadOnlySettings The settings.

Return Value

Type Description
string The index file name.