on master help sign in
Fix 2 tutorial issues (patch by Carl Mäsak)
commit490162e277a1db52b5e7d9f091b4609a4e6b66b4 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateWed 1 Sep 2010, 10:26 (16 years ago) parentca19ed8
1 file changed+2−2
examples/hakyll/tutorials/part05.markdown+2−2
examples/hakyll/tutorials/part05.markdown+2−2
@@ -102,7 +102,7 @@ signature of `createListing`:
102102createListing :: FilePath
103103 -> [FilePath]
104104 -> [HakyllAction () Context]
105− -> [(String, Either String (HakyllAction () String)]
105+ -> [(String, Either String (HakyllAction () String))]
106106 -> HakyllAction () Context
107107~~~~~
108108
@@ -120,7 +120,7 @@ simple template:
120120</li>
121121~~~~~
122122
123−We then give a list of @Context@s to render. For our index, these are the 3 last
123+We then give a list of `Context`s to render. For our index, these are the 3 last
124124posts. The last argument of the `createListing` functions lets you specify
125125additional key-value pairs, like in `createCustomPage`. We use this to set the
126126title of our page. So, we create our index page using: