MediaType Field
Changes the media type of the document (normally this is interpreted from the file extension).
Namespace
Statiq.Web
Containing Type
WebKeys
Field Type
string

Syntax

public const string MediaType

Remarks

For example, to force script evaluation for a file that isn't ".cs" or ".csx", set the MediaType front matter to CSharp.

Constant Value

Value Type
MediaType String