Remove L from Atom URLs

This commit is contained in:
orbifx 2021-06-16 11:26:52 +01:00
parent f5033a61fc
commit bf3c14f2d0

View File

@ -19,7 +19,7 @@ let entry base_url text =
^ "</author>"
in
"<entry><title>" ^ esc text.title ^ "</title><id>urn:uuid:" ^ Id.to_string text.uuid ^ "</id><link rel=\"alternate\" href=\""
^ base_url ^ "/" ^ u ^ ".html\" /><updated>"
^ base_url ^ "/" ^ u ^ ".htm\" /><updated>"
^ Date.(text.date |> listing |> rfc_string) ^ "</updated>"
^ Person.Set.fold authors text.authors ""
^ (opt_element "summary" @@ esc @@ Text.str "abstract" text)