Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Page_site.Header

module Header : sig..end

Allows to add HTML headers required by page components


type header
val create_header : 
  (unit -> Html5_types.head_content_fun Eliom_content.Html5.F.elt list) ->
  header

Define a new header

val require_header : header -> unit Lwt.t

Call this function every time you need a header to be included in the page. If this function is called several times for the same page with the same header, the header will be included only once.

val generate_headers : 
  unit ->
  Html5_types.head_content_fun Eliom_content.Html5.F.elt list Lwt.t

This function is called to generate the headers for one page. Only required headers are included.