From 810e5982a30afc0695397205c9f9d67d56dab834 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 16 Jan 2010 09:24:23 +0100 Subject: Fixed issue in tutorial 1. Kudos to kamatsu for noticing. --- examples/hakyll/tutorial1.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/hakyll/tutorial1.markdown b/examples/hakyll/tutorial1.markdown index 5ba57e6..69c8f6b 100644 --- a/examples/hakyll/tutorial1.markdown +++ b/examples/hakyll/tutorial1.markdown @@ -133,8 +133,8 @@ one template, and our renderable object is simply a `PagePath`. ~~~~~{.haskell} import Text.Hakyll (hakyll) -import Text.Render (renderChain) -import Text.Renderables (createPagePath) +import Text.Hakyll.Render (renderChain) +import Text.Hakyll.Renderables (createPagePath) main = hakyll $ do renderChain ["templates/default.html"] (createPagePath "about.markdown") @@ -144,8 +144,8 @@ Or, to render all our three pages: ~~~~~{.haskell} import Text.Hakyll (hakyll) -import Text.Render (renderChain) -import Text.Renderables (createPagePath) +import Text.Hakyll.Render (renderChain) +import Text.Hakyll.Renderables (createPagePath) main = hakyll $ do render "about.markdown" render "index.markdown" @@ -170,7 +170,7 @@ use: ~~~~~{.haskell} import Text.Hakyll (hakyll) -import Text.Render (static) +import Text.Hakyll.Render (static) main = hakyll $ do static "css/default.css" ~~~~~ @@ -180,7 +180,7 @@ we want to use that, we would use `css` instead of `static`. ~~~~~{.haskell} import Text.Hakyll (hakyll) -import Text.Render (css) +import Text.Hakyll.Render (css) main = hakyll $ do css "css/default.css" ~~~~~ @@ -193,7 +193,7 @@ our example would become: ~~~~~{.haskell} import Text.Hakyll (hakyll) -import Text.Render (css) +import Text.Hakyll.Render (css) import Text.File (directory) main = hakyll $ do directory css "css" -- cgit v1.2.3