diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-16 09:24:23 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-01-16 09:25:22 +0100 |
commit | d6c2cec610d37e89011ea9aa295fb33d47929eab (patch) | |
tree | fea1c2341d7bf81c1a07f9659112e35b8006f349 | |
parent | 129ab7f31af87962f73d534b045e57cb1975690b (diff) | |
download | hakyll-d6c2cec610d37e89011ea9aa295fb33d47929eab.tar.gz |
Fixed issue in tutorial 1.
Kudos to kamatsu for noticing.
-rw-r--r-- | examples/hakyll/tutorial1.markdown | 14 |
1 files 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" |