Fix tutorial inconsistency
commit1a7d746ad5be0b9469d664f21ca1aa79ce2154bb
authorJasper Van der Jeugt <jaspervdj@gmail.com>
dateTue 1 Mar 2011, 21:59 (16 years ago)
parent90b2510
examples/brochure/hakyll.hs+1−1
@@ -13,6 +13,6 @@ main = hakyll $ do
1313
1414 forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do
1515 route page $ setExtension "html"
16− compile page $ readPageCompiler
16+ compile page $ pageCompiler
1717 >>> applyTemplateCompiler "templates/default.html"
1818 >>> relativizeUrlsCompiler
examples/hakyll/examples/brochure.zip
Binary file not shown.
examples/hakyll/tutorial.markdown+1−1
@@ -72,7 +72,7 @@ main = hakyll $ do
7272
7373 forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do
7474 route page $ setExtension "html"
75− compile page $ readPageCompiler
75+ compile page $ pageCompiler
7676 >>> applyTemplateCompiler "templates/default.html"
7777 >>> relativizeUrlsCompiler
7878~~~~~