@@ -40,7 +40,7 @@ createCustomPage url dependencies association = RenderAction
4040 where
4141 mtuple (a, b) = b >>= \b' -> return (a, b')
4242 toHakyllString = second (either return runRenderAction)
43− assoc' = mapM (mtuple . toHakyllString) association
43+ assoc' = mapM (mtuple . toHakyllString) $ ("url", Left url) : association
4444
4545-- | A @createCustomPage@ function specialized in creating listings.
4646--
@@ -110,7 +110,7 @@ combine x y = RenderAction
110110 { actionDependencies = actionDependencies x ++ actionDependencies y
111111 , actionUrl = actionUrl x `mplus` actionUrl y
112112 , actionFunction = \_ ->
113− liftM2 (M.union) (runRenderAction x) (runRenderAction y)
113+ liftM2 M.union (runRenderAction x) (runRenderAction y)
114114 }
115115
116116-- | Combine two renderables and set a custom URL. This behaves like @combine@,
@@ -122,7 +122,7 @@ combineWithUrl :: FilePath
122122combineWithUrl url x y = combine'
123123 { actionUrl = Just $ return url
124124 , actionFunction = \_ ->
125− (M.insert "url" url) <$> runRenderAction combine'
125+ M.insert "url" url <$> runRenderAction combine'
126126 }
127127 where
128128 combine' = combine x y