type t = {fname : string option; |
title : string; |
date : Ptime.t; |
slug : string; |
body : Jekyll_format.body; |
fields : Jekyll_format.fields; |
}t is a single Jekyll-format post that has been parsed
val of_string : ?fname:string -> string -> (t, [> Rresult.R.msg ]) Result.resultof_string ?fname body
val of_string_exn : ?fname:string -> string -> tof_string_exn ?fname body operates as of_string except that it raises a Jekyll_format.Parse_failure exception on error.