summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Render.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Hakyll/Render.hs')
-rw-r--r--src/Text/Hakyll/Render.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Render.hs b/src/Text/Hakyll/Render.hs
index d0bd138..a3476b6 100644
--- a/src/Text/Hakyll/Render.hs
+++ b/src/Text/Hakyll/Render.hs
@@ -40,7 +40,7 @@ render :: FilePath -- ^ Template to use for rendering.
-> HakyllAction Context Context -- ^ The render computation.
render templatePath = HakyllAction
{ actionDependencies = [templatePath]
- , actionUrl = Nothing
+ , actionUrl = Right id
, actionFunction = \context ->
flip pureRender context <$> readTemplate templatePath
}
@@ -59,7 +59,7 @@ renderAndConcat :: [FilePath]
-> HakyllAction () String
renderAndConcat templatePaths renderables = HakyllAction
{ actionDependencies = renders >>= actionDependencies
- , actionUrl = Nothing
+ , actionUrl = Right id
, actionFunction = actionFunction'
}
where