summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2015-02-22 12:38:39 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2015-02-22 12:38:39 +0100
commit31b2294b1075ba7c4bd9d608c5a8eed0eef9b81d (patch)
treedd78003e12de336a9d3916c4b4e56dda73469139 /src
parent8f330a29401147d5ab761dfde721a68c0644d133 (diff)
parentac0fc618ff2e9f40b94e4be06efee45d08b0ba10 (diff)
downloadhakyll-31b2294b1075ba7c4bd9d608c5a8eed0eef9b81d.tar.gz
Merge pull request #332 from cpennington/author-name-rss
Add author name by default to RSS feeds
Diffstat (limited to 'src')
-rw-r--r--src/Hakyll/Web/Feed.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Hakyll/Web/Feed.hs b/src/Hakyll/Web/Feed.hs
index 794ded5..c5f8e0b 100644
--- a/src/Hakyll/Web/Feed.hs
+++ b/src/Hakyll/Web/Feed.hs
@@ -77,6 +77,8 @@ renderFeed feedPath itemPath config itemContext items = do
itemContext' = mconcat
[ constField "root" (feedRoot config)
+ , constField "authorName" (feedAuthorName config)
+ , constField "authorEmail" (feedAuthorEmail config)
, itemContext
]