INTERFACE IFrontMatter

Basic structure needed to generate user content and system content

Properties

Title

(string?) : The content Title.

Section

(string?) : The first directory where the content is located, inside content.

Type

(string?) : The type of content. It will be "page", if not specified.

Url

(string?) : The URL pattern to be used to create the url. Liquid template can be used to use tokens.

Draft

(bool?) : True for draft content. It will not be rendered unless an option Draft is set to true.

Date

(DateTime?) : Date of the post. Will be used as the PublishDate if it's not set. Unless the option Future is set to true, the dates set from the future will be ignored.

LastMod

(DateTime?) : Last modification date of the page. Useful to notify users that the content was updated.

PublishDate

(DateTime?) : Publish date of the page. If not set, the Date will be used instead. Unless the option Future is set to true, the dates set from the future will be ignored.

ExpiryDate

(DateTime?) : Expiry date of the page.

Aliases

(List?) : A List of secondary URL patterns to be used to create the url. List URL, it will be parsed as liquid templates, so you can use page variables.

Weight

(int) : Page weight. Used for sorting by default.

Tags

(List?) : A list of tags, if any.

ResourceDefinitions

(List?) : List of resource definitions.