package minima-theme

  1. Overview
  2. Docs
OCaml port of the Jekyll Minima theme

Install

Dune Dependency

Authors

Maintainers

Sources

minima-theme-1.0.0.tbz
sha256=9c9cbd1634af2aeb2e2f87e73c526bb2314be8fff01c40a46205a7f5024eb3a9
md5=630e144d08468b62fb353df969dbc4ea

doc/minima-theme/Minima_theme/index.html

Module Minima_theme

Port of Jekyll Minima theme as an OCaml library

v1.0.0 — homepage

type t = {
  1. tmpl : string -> Soup.soup Soup.node;
}

Template handling

val v : ?base_dir:string -> unit -> t

v ?base_dir constructs a Minima_theme handler that uses templates from base_dir. If base_dir is not specified, it defaults to the value of opam config var minima-theme:share. This requires an active OPAM installation at the runtime of the library (this limitation will be lifted in a future release).

Convenience functions

val u : string -> Uri.t

u is a convenience alias for Uri.of_string

val replace_child : child:'a Soup.node -> Soup.element Soup.node -> unit
val replace_text : text:string -> Soup.element Soup.node -> unit
OCaml

Innovation. Community. Security.