summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Page.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-21 09:19:14 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-21 09:19:14 +0100
commitaaa777180948074f2d65a23aedc4f7fc7e3d4761 (patch)
treea72e1dfe09331bffca723042e67abb450429af4d /src/Text/Hakyll/Page.hs
parentcf789c7ac677b9c13ae6f26d7dda950584a373c8 (diff)
downloadhakyll-aaa777180948074f2d65a23aedc4f7fc7e3d4761.tar.gz
Some more documentation.
Diffstat (limited to 'src/Text/Hakyll/Page.hs')
-rw-r--r--src/Text/Hakyll/Page.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Page.hs b/src/Text/Hakyll/Page.hs
index 7b40ada..6ead0ae 100644
--- a/src/Text/Hakyll/Page.hs
+++ b/src/Text/Hakyll/Page.hs
@@ -136,7 +136,8 @@ readPageFromFile path = do
where
url = toURL path
--- | Read a page. Might fetch it from the cache if available.
+-- | Read a page. Might fetch it from the cache if available. Otherwise, it will
+-- read it from the file given and store it in the cache.
readPage :: FilePath -> Hakyll Page
readPage path = do
cacheResult <- getFromCache path