summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-16 09:24:23 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-16 09:24:23 +0100
commit810e5982a30afc0695397205c9f9d67d56dab834 (patch)
tree18289dd168c9892129f5e7672fa0723514108a15
parentf3c83030b9b0e186f283523af08ca886de33783c (diff)
downloadhakyll-810e5982a30afc0695397205c9f9d67d56dab834.tar.gz
Fixed issue in tutorial 1.
Kudos to kamatsu for noticing.
-rw-r--r--examples/hakyll/tutorial1.markdown14
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"