@@ -90,7 +90,7 @@ the end just `key: value` mappings. A CustomPage is created using the
90~~~~~{.haskell}
90~~~~~{.haskell}
91createCustomPage :: FilePath
91createCustomPage :: FilePath
92 -> [FilePath]
92 -> [FilePath]
93− -> [(String, Either String (IO String)]
93+ -> [(String, Either String (Hakyll String)]
96The first argument is the `url` of the page to generate. For our index page,
96The first argument is the `url` of the page to generate. For our index page,
@@ -103,11 +103,11 @@ This, once again, is about dependency handling. The idea is that you can choose
103which type to use for the value:
103which type to use for the value:
105- `String`: Simply a `String`.
105- `String`: Simply a `String`.
106−- `IO String`: Here, you can give an arbitrary `IO` action that will result
106+- `Hakyll String`: Here, you can give an arbitrary `Hakyll` action that will
107− in a String. However - this action _will not be executed_ when the file
107+ result in a String. However - this action _will not be executed_ when the file
108 in `_site` is up-to-date.
108 in `_site` is up-to-date.
110−First, let us define this `IO String` for our index page. We want to render
110+First, let us define this `Hakyll String` for our index page. We want to render
111every post using a simple template:
111every post using a simple template:
113~~~~~{.html}
113~~~~~{.html}