diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-05 19:02:25 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-03-05 19:02:25 +0100 |
commit | 65b1a9cf00ef8c2f895416ee5ad5f299d05be9b8 (patch) | |
tree | 6942763cb157675d0e1108c9c9aaebbb0571a590 /src/Text | |
parent | f1b1e179aa8c86518ab0768153821f9b4454075a (diff) | |
download | hakyll-65b1a9cf00ef8c2f895416ee5ad5f299d05be9b8.tar.gz |
Fixed bug in date rendering.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Hakyll/Internal/Page.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Internal/Page.hs b/src/Text/Hakyll/Internal/Page.hs index c91d7ae..657ea77 100644 --- a/src/Text/Hakyll/Internal/Page.hs +++ b/src/Text/Hakyll/Internal/Page.hs @@ -98,7 +98,8 @@ readPageFromFile path = do url <- toUrl path let sections = splitAtDelimiters $ lines contents sectionsData = concat $ zipWith ($) sectionFunctions sections - context = M.fromList $ ("url", url) : category ++ sectionsData + context = M.fromList $ + ("url", url) : ("path", path) : category ++ sectionsData return context where |