on master help sign in
Fix 2 tutorial issues (patch by Carl Mäsak)
490162eJasper Van der Jeugt
examples/hakyll/tutorials/part05.markdown+2−2
@@ -102,7 +102,7 @@ signature of `createListing`:
102createListing :: FilePath
102createListing :: FilePath
103 -> [FilePath]
103 -> [FilePath]
104 -> [HakyllAction () Context]
104 -> [HakyllAction () Context]
105− -> [(String, Either String (HakyllAction () String)]
105+ -> [(String, Either String (HakyllAction () String))]
106 -> HakyllAction () Context
106 -> HakyllAction () Context
107~~~~~
107~~~~~
108
108
@@ -120,7 +120,7 @@ simple template:
120</li>
120</li>
121~~~~~
121~~~~~
122
122
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
124posts. The last argument of the `createListing` functions lets you specify
124posts. The last argument of the `createListing` functions lets you specify
125additional key-value pairs, like in `createCustomPage`. We use this to set the
125additional key-value pairs, like in `createCustomPage`. We use this to set the
126title of our page. So, we create our index page using:
126title of our page. So, we create our index page using: