module Jekyll_post:sig..end
Jekyll is a simple, blog-aware static site generator that takes a template directory of files and turns them into a website. This library exists to parse those blog posts and make them easy to manipulate from OCaml code.
v0.1.0 — homepage
type t = {
|
fname : |
|
title : |
|
date : |
|
slug : |
|
body : |
|
fields : |
t is a single Jekyll-format post that has been parsedval of_string : ?fname:string -> string -> (t, [> Rresult.R.msg ]) Result.resultof_string ?fname bodyval of_string_exn : ?fname:string -> string -> tof_string_exn ?fname body operates as Jekyll_post.of_string except that it raises
a Jekyll_format.Parse_failure exception on error.val compare : t -> t -> intcompare a b will compare by date and then lexigraphically on the title