Content_typesContent types for the Memoir static site generator.
module Date : sig ... endA calendar date parsed from an ISO "YYYY-MM-DD" frontmatter string.
type frontmatter = {title : string;description : string option;date : Date.t option;updated : Date.t option;draft : bool;layout : string option;slug : string option;featured_image : string option;}Frontmatter metadata for content pages.
val empty_frontmatter : frontmatterEmpty frontmatter. A title = "" result signals "no frontmatter block at all"; a present-but-titleless block yields the "Untitled" default.
type content_page = {path : string;File path relative to the content directory.
*)frontmatter : frontmatter;content : string;Markdown content.
*)html_content : string option;Generated HTML content, if rendered.
*)url_path : string;URL path for the generated page.
*)}A content page with frontmatter and (optionally rendered) markdown content.