Skip to content

Commit

Permalink
Document that bodies go into content_html
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoru committed Aug 6, 2023
1 parent 06978c2 commit 1456f3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Hakyll/Web/Feed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ renderAtom = renderAtomWithTemplates atomTemplate atomItemTemplate

--------------------------------------------------------------------------------
-- | Render a JSON feed with a number of items.
--
-- Items' bodies will be put into @content_html@ field of the resulting JSON;
-- the @content@ field will not be set.
renderJson :: FeedConfiguration -- ^ Feed configuration
-> Context String -- ^ Item context
-> [Item String] -- ^ Feed items
Expand Down

0 comments on commit 1456f3e

Please sign in to comment.