summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Page.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-17 12:37:55 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-17 12:37:55 +0100
commitaa44d6c0da442887155a47c77f03209224517af0 (patch)
treeb9c1d8fe6bed4eb1922d737f8817d851d8a34f5d /src/Text/Hakyll/Page.hs
parent003734442486876153911d339f07d4379e8dca20 (diff)
downloadhakyll-aa44d6c0da442887155a47c77f03209224517af0.tar.gz
Documentation++.
Diffstat (limited to 'src/Text/Hakyll/Page.hs')
-rw-r--r--src/Text/Hakyll/Page.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Page.hs b/src/Text/Hakyll/Page.hs
index 0c912a9..eec60e9 100644
--- a/src/Text/Hakyll/Page.hs
+++ b/src/Text/Hakyll/Page.hs
@@ -102,8 +102,7 @@ cachePage page@(Page mapping) = do
destination = toCache $ getURL page
-- | Read a page from a file. Metadata is supported, and if the filename
--- has a .markdown extension, it will be rendered using pandoc. Note that
--- pages are not templates, so they should not contain $identifiers.
+-- has a @.markdown@ extension, it will be rendered using pandoc.
readPage :: FilePath -> Hakyll Page
readPage pagePath = do
-- Check cache.