Module Os_page

exception Predicate_failed of exn option
type content

An abstract type describing the content of a page

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

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