diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-03-01 21:59:12 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-03-01 21:59:12 +0100 |
commit | 1a7d746ad5be0b9469d664f21ca1aa79ce2154bb (patch) | |
tree | 0420cb1f805e930985ce111d66f31e3075ed1b3d /examples | |
parent | 90b25105830d6e4b0943ab55f9317bd142533acf (diff) | |
download | hakyll-1a7d746ad5be0b9469d664f21ca1aa79ce2154bb.tar.gz |
Fix tutorial inconsistency
Diffstat (limited to 'examples')
-rw-r--r-- | examples/brochure/hakyll.hs | 2 | ||||
-rw-r--r-- | examples/hakyll/examples/brochure.zip | bin | 3689 -> 3793 bytes | |||
-rw-r--r-- | examples/hakyll/tutorial.markdown | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/examples/brochure/hakyll.hs b/examples/brochure/hakyll.hs index 8040bdf..819924f 100644 --- a/examples/brochure/hakyll.hs +++ b/examples/brochure/hakyll.hs @@ -13,6 +13,6 @@ main = hakyll $ do forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do route page $ setExtension "html" - compile page $ readPageCompiler + compile page $ pageCompiler >>> applyTemplateCompiler "templates/default.html" >>> relativizeUrlsCompiler diff --git a/examples/hakyll/examples/brochure.zip b/examples/hakyll/examples/brochure.zip Binary files differindex 619d9a9..c1a5d79 100644 --- a/examples/hakyll/examples/brochure.zip +++ b/examples/hakyll/examples/brochure.zip diff --git a/examples/hakyll/tutorial.markdown b/examples/hakyll/tutorial.markdown index 9ee6066..f61ccd0 100644 --- a/examples/hakyll/tutorial.markdown +++ b/examples/hakyll/tutorial.markdown @@ -72,7 +72,7 @@ main = hakyll $ do forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do route page $ setExtension "html" - compile page $ readPageCompiler + compile page $ pageCompiler >>> applyTemplateCompiler "templates/default.html" >>> relativizeUrlsCompiler ~~~~~ |