on master help sign in
Fixed issue in tutorial 1.
810e598Jasper Van der Jeugt
examples/hakyll/tutorial1.markdown+7−7
@@ -133,8 +133,8 @@ one template, and our renderable object is simply a `PagePath`.
133
133
134~~~~~{.haskell}
134~~~~~{.haskell}
135import Text.Hakyll (hakyll)
135import Text.Hakyll (hakyll)
136−import Text.Render (renderChain)
136+import Text.Hakyll.Render (renderChain)
137−import Text.Renderables (createPagePath)
137+import Text.Hakyll.Renderables (createPagePath)
138main = hakyll $ do
138main = hakyll $ do
139 renderChain ["templates/default.html"]
139 renderChain ["templates/default.html"]
140 (createPagePath "about.markdown")
140 (createPagePath "about.markdown")
@@ -144,8 +144,8 @@ Or, to render all our three pages:
144
144
145~~~~~{.haskell}
145~~~~~{.haskell}
146import Text.Hakyll (hakyll)
146import Text.Hakyll (hakyll)
147−import Text.Render (renderChain)
147+import Text.Hakyll.Render (renderChain)
148−import Text.Renderables (createPagePath)
148+import Text.Hakyll.Renderables (createPagePath)
149main = hakyll $ do
149main = hakyll $ do
150 render "about.markdown"
150 render "about.markdown"
151 render "index.markdown"
151 render "index.markdown"
@@ -170,7 +170,7 @@ use:
170
170
171~~~~~{.haskell}
171~~~~~{.haskell}
172import Text.Hakyll (hakyll)
172import Text.Hakyll (hakyll)
173−import Text.Render (static)
173+import Text.Hakyll.Render (static)
174main = hakyll $ do
174main = hakyll $ do
175 static "css/default.css"
175 static "css/default.css"
176~~~~~
176~~~~~
@@ -180,7 +180,7 @@ we want to use that, we would use `css` instead of `static`.
180
180
181~~~~~{.haskell}
181~~~~~{.haskell}
182import Text.Hakyll (hakyll)
182import Text.Hakyll (hakyll)
183−import Text.Render (css)
183+import Text.Hakyll.Render (css)
184main = hakyll $ do
184main = hakyll $ do
185 css "css/default.css"
185 css "css/default.css"
186~~~~~
186~~~~~
@@ -193,7 +193,7 @@ our example would become:
193
193
194~~~~~{.haskell}
194~~~~~{.haskell}
195import Text.Hakyll (hakyll)
195import Text.Hakyll (hakyll)
196−import Text.Render (css)
196+import Text.Hakyll.Render (css)
197import Text.File (directory)
197import Text.File (directory)
198main = hakyll $ do
198main = hakyll $ do
199 directory css "css"
199 directory css "css"