| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
MathiasSM.Metadata
Description
Front matter keys the site knows about, and how they are spelled
Synopsis
- data Key
- = Title
- | Date
- | Published
- | Description
- | Aliases
- | Draft
- | EndDate
- | HideDescription
- | Home
- | Href
- | Language
- | LastModifiedAt
- | LongDescription
- | Nav
- | NavOrder
- | Path
- | Priority
- | Project
- | ShareDescription
- | ShareTitle
- | ShortDescription
- | StartDate
- | Status
- | Team
- | Templated
- | TOC
- | Type
- keyName :: Key -> String
- lookupKey :: Key -> Metadata -> Maybe String
Documentation
Every front matter key that content may use.
Add a constructor here (and in keyName) before using a new key anywhere.
Constructors