Module Memoir_templates.Templates

Page assembly: combine navigation, SEO head, body content, webring and footer into a complete HTML document string.

val create_page : ?lang:string -> ?current_path:string -> ?page_class:string -> ?year:int -> ?author:string -> ?image:string -> ?modified:string -> title_text:string -> description:string -> content:Html_types.flow5 Tyxml.Html.elt list -> url:string -> unit -> string

Render a complete HTML page to a string.

content is the page body (flow content); the webring block is appended automatically. image sets the Open Graph image and modified the article modified-time — both only meaningful on non-home (article) pages, where author is also emitted as article:author.