summaryrefslogtreecommitdiff
path: root/src/Hakyll/Web/Page/List.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Web/Page/List.hs')
-rw-r--r--src/Hakyll/Web/Page/List.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Web/Page/List.hs b/src/Hakyll/Web/Page/List.hs
index 1edb250..24721e7 100644
--- a/src/Hakyll/Web/Page/List.hs
+++ b/src/Hakyll/Web/Page/List.hs
@@ -55,8 +55,8 @@ pageListCompiler sort template =
--
applyTemplateToList :: Identifier Template
-> Compiler [Page String] [Page String]
-applyTemplateToList identifier =
- require identifier $ \posts template -> map (applyTemplate template) posts
+applyTemplateToList identifier = require identifier $
+ \posts template -> map (applyTemplateToPage template) posts
-- | Concatenate the bodies of a page list
--