Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion canopy_article.ml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ let to_tyxml_tags tags =

let to_atom cache ({ title; author; abstract; uri; created; updated; tags; content; uuid}) =
let text x : Syndic.Atom.text_construct = Syndic.Atom.Text x in
let html x : Syndic.Atom.text_construct = Syndic.Atom.Html (None, x) in
let summary = match abstract with
| Some x -> Some (text x)
| Some x -> Some (html x)
| None -> None
in
let root = Canopy_config.root cache
Expand Down