OutputFormat
- Namespace: SuCoS.Models
- Source File: OutputFormat.cs
Represents an output format.
Properties
BaseName
(string) = "index": The base name of the published file.
Extension
(string) = "html": File extension of the output format.
MediaType
(bool) : The media type of the published file. This must match a defined media type, either built-in or custom.
Rel
(bool) : If provided, you can assign this value to rel attributes in link elements when iterating over output formats in your templates.
Permalinkable
(bool) : If true, the Permalink and RelPermalink methods on a Page object return the rendering output format rather than main output format (see below). Enabled by default for the html and amp output formats
NoUgly
(bool) : If true, disables ugly URLs for this output format when uglyURLs is true in your site configuration.
Ugly
(bool) : If true, enables uglyURLs for this output format when uglyURLs is false in your site configuration.