on master help sign in
Merge pull request #72 from crodjer/master

A tiny changeset and add my site

commit0f19aa93537d90259c04b09961e4d7afa2923363 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateFri 13 Jul 2012, 03:05 (14 years ago) parent3e6a8baca5fb13
3 files changed+6
data/templates/atom.xml+1 src/Hakyll/Web/Feed.hs+3 web/examples.markdown+2
data/templates/atom.xml+1
@@ -6,6 +6,7 @@
66 <id>$root$$url$</id>
77 <author>
88 <name>$authorName$</name>
9+ <email>$authorEmail$</email>
910 </author>
1011 <updated>$updated$</updated>
1112 $body$
src/Hakyll/Web/Feed.hs+3
@@ -45,6 +45,8 @@ data FeedConfiguration = FeedConfiguration
4545 feedDescription :: String
4646 , -- | Name of the feed author.
4747 feedAuthorName :: String
48+ , -- | Email of the feed author.
49+ feedAuthorEmail :: String
4850 , -- | Absolute root URL of the feed site (e.g. @http://jaspervdj.be@)
4951 feedRoot :: String
5052 } deriving (Show, Eq)
@@ -65,6 +67,7 @@ createFeed feedTemplate itemTemplate url configuration items =
6567 $ trySetField "title" (feedTitle configuration)
6668 $ trySetField "description" (feedDescription configuration)
6769 $ trySetField "authorName" (feedAuthorName configuration)
70+ $ trySetField "authorEmail" (feedAuthorEmail configuration)
6871 $ trySetField "root" (feedRoot configuration)
6972 $ trySetField "url" url
7073 $ fromBody body
web/examples.markdown+2
@@ -52,3 +52,5 @@ this list. This list has no particular ordering.
5252 [source](http://gitorious.org/shakthimaan-blog)
5353- <http://www.alfredodinapoli.com/>,
5454 [source](https://github.com/CharlesStain/alfredodinapoli.com)
55+- <http://www.rohanjain.in/>,
56+ [source](https://github.com/crodjer/rohanjain.in)