diff options
| author | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-11-09 18:13:51 +0100 |
|---|---|---|
| committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-11-09 18:13:51 +0100 |
| commit | 4cb6f9241435fae7a23a7f9fbbdab99e65285eff (patch) | |
| tree | 462f951e02579518958e15accb95be5d6d11abba /src/Hakyll/Web/Page | |
| parent | 2834fd94945ad20bf19c39957cddfdf858c0ba22 (diff) | |
| download | hakyll-4cb6f9241435fae7a23a7f9fbbdab99e65285eff.tar.gz | |
Rewrite template application
Diffstat (limited to 'src/Hakyll/Web/Page')
| -rw-r--r-- | src/Hakyll/Web/Page/List.hs | 4 |
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 -- |
