open Database open Lwt module Render = struct let header_template = {eos| rawley.xyz

/home/rawley.xyz

|eos} let footer_template = {eos|
|eos} let not_found_template = Printf.sprintf "%s %s %s" header_template "

404 Not found

" footer_template let error_template = Printf.sprintf "%s %s %s" header_template "

500 Server Error

" footer_template let render_page content = Printf.sprintf {eos| %s %s %s |eos} header_template content footer_template let generate_link (p : BlogPost.t) = Printf.sprintf {eos|