Indicates the type of content and thus which pipeline will process the file.
- Namespace
- Statiq
.Web - Containing Type
- WebKeys
- Field Type
- string
Syntax
public const string ContentType
Remarks
This will be automatically set based on the media type of the file and other metadata,
but it can be further adjusted by setting manually. For example, if you have a ".cshtml"
file but you want to copy it to the output folder instead of processing as a Razor file,
set the
ContentType
to Asset
.
Constant Value
Value | Type |
---|---|
ContentType | String |