summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Template/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web/Template/Internal.hs')
-rw-r--r--src/Hakyll/Web/Template/Internal.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Web/Template/Internal.hs b/src/Hakyll/Web/Template/Internal.hs
index 3686914..d0e4d47 100644
--- a/src/Hakyll/Web/Template/Internal.hs
+++ b/src/Hakyll/Web/Template/Internal.hs
@@ -138,8 +138,8 @@ applyTemplate' tes context x = go tes
return $ intercalate sep bs
applyElem (Partial e) = do
- p <- applyExpr e >>= getString e
- tpl' <- loadBody (fromFilePath p)
+ p <- applyExpr e >>= getString e
+ Template tpl' <- loadBody (fromFilePath p)
applyTemplate' tpl' context x
---------------------------------------------------------------------------