package minima-theme

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

HTML layouts for different sorts of Minima pages.

Top-level HTML generation

val default : ?lang:string -> title:string -> title_uri:Uri.t -> description:string -> stylesheet_uri:Uri.t -> canonical_uri:Uri.t -> rss_feed_uri:Uri.t -> contacts:(string * Uri.t option) list -> page_links:(string * Uri.t) list -> icons:Minima_includes.html list -> content:'a Soup.node -> Minima_theme.t -> Soup.element Soup.node
val to_string : 'a Soup.node -> string

to_string s will convert the HTML nodes to an HTML string and also prepend a DOCTYPE tag so that browsers interpret it properly.

val article : title:string -> date:Ptime.t -> content:'a Soup.node -> Soup.element Soup.node
val home : content:'a Soup.node -> rss_feed_uri:Uri.t -> posts:(Ptime.t * Uri.t * string) list -> Soup.element Soup.node
OCaml

Innovation. Community. Security.