diff options
author | Yuriy Syrovetskiy <cblp@cblp.su> | 2015-11-20 15:50:14 +0300 |
---|---|---|
committer | Yuriy Syrovetskiy <cblp@cblp.su> | 2015-11-20 15:50:14 +0300 |
commit | dccef0759e850e484cac94855350daefde7d503d (patch) | |
tree | 43e5f027cfa6ecc4e9f8349c2006a5adfe316f11 /src | |
parent | 606ff9a945895a9eff7b6f1febc521255cbaea6a (diff) | |
download | hakyll-dccef0759e850e484cac94855350daefde7d503d.tar.gz |
Item context has precedence before feed context
Diffstat (limited to 'src')
-rw-r--r-- | src/Hakyll/Web/Feed.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Web/Feed.hs b/src/Hakyll/Web/Feed.hs index c5f8e0b..1d18430 100644 --- a/src/Hakyll/Web/Feed.hs +++ b/src/Hakyll/Web/Feed.hs @@ -76,10 +76,10 @@ renderFeed feedPath itemPath config itemContext items = do loadTemplate = fmap readTemplate . readFile <=< getDataFileName itemContext' = mconcat - [ constField "root" (feedRoot config) + [ itemContext + , constField "root" (feedRoot config) , constField "authorName" (feedAuthorName config) , constField "authorEmail" (feedAuthorEmail config) - , itemContext ] feedContext = mconcat |