Add MLI files
This commit is contained in:
14
render/render.mli
Normal file
14
render/render.mli
Normal file
@@ -0,0 +1,14 @@
|
||||
open Database
|
||||
|
||||
module Render :
|
||||
sig
|
||||
val not_found_template : string
|
||||
val error_template : string
|
||||
val header_template : string
|
||||
val footer_template : string
|
||||
val render_page : string -> string
|
||||
val generate_link : BlogPost.t -> string
|
||||
val handle_error : [< Caqti_error.t ] -> Dream.response Lwt.t
|
||||
val render_blog_post : Dream.request -> Dream.response Lwt.t
|
||||
val render_blog_index : Dream.request -> Dream.response Lwt.t
|
||||
end
|
||||
Reference in New Issue
Block a user