diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Hakyll/Web/Feed.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Hakyll/Web/Feed.hs b/src/Hakyll/Web/Feed.hs index e7aecc9..f2f3342 100644 --- a/src/Hakyll/Web/Feed.hs +++ b/src/Hakyll/Web/Feed.hs @@ -45,6 +45,8 @@ data FeedConfiguration = FeedConfiguration feedDescription :: String , -- | Name of the feed author. feedAuthorName :: String + , -- | Email of the feed author. + feedAuthorEmail :: String , -- | Absolute root URL of the feed site (e.g. @http://jaspervdj.be@) feedRoot :: String } deriving (Show, Eq) @@ -65,6 +67,7 @@ createFeed feedTemplate itemTemplate url configuration items = $ trySetField "title" (feedTitle configuration) $ trySetField "description" (feedDescription configuration) $ trySetField "authorName" (feedAuthorName configuration) + $ trySetField "authorEmail" (feedAuthorEmail configuration) $ trySetField "root" (feedRoot configuration) $ trySetField "url" url $ fromBody body |