Module Os_pageSource

include module type of struct include Os.Page end
exception Predicate_failed of exn option
type content = Os.Page.content

An abstract type describing the content of a page

val content : ?html_a:Html_types.html_attrib Eliom.Content.Html.attrib list -> ?a:Html_types.body_attrib Eliom.Content.Html.attrib list -> ?title:string -> ?head:[< Html_types.head_content_fun ] Eliom.Content.Html.elt list -> [< Html_types.body_content ] Eliom.Content.Html.elt list -> content

Specifies a page with an optional title (with the argument ?title), some optional extra metadata (with the argument ?head) and a given body.

?html_a (resp. ?a) allows to set attributes to the html (resp. body) tag.

module type PAGE = Os.Page.PAGE

The signature of the module to be given as parameter to the functor. It allows to personnalize your pages (CSS, JS, etc).

module Default_config = Os.Page.Default_config

A default configuration for pages.

module Make = Os.Page.Make