Module Os.PageSource

Sourceexception Predicate_failed of exn option
Sourcetype content

An abstract type describing the content of a page

Sourceval 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.

Sourcemodule type PAGE = sig ... end

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

A default configuration for pages.

Sourcemodule Make (_ : PAGE) : sig ... end