summaryrefslogtreecommitdiff
path: root/tests/Hakyll
diff options
context:
space:
mode:
authorBergi <a.d.bergi@web.de>2015-10-21 22:14:39 +0200
committerBergi <a.d.bergi@web.de>2015-10-24 20:29:10 +0200
commit5a4ae4147313f52d50ff3bd9d74340a86175a5d9 (patch)
tree1a2ea03e694947f7f8d4b7c3b1dd123b7d9226d8 /tests/Hakyll
parent8dec0a51fbcab519755147828b546abdb397fbd8 (diff)
downloadhakyll-5a4ae4147313f52d50ff3bd9d74340a86175a5d9.tar.gz
templateBodyCompiler compiles resource body only
and becomes the new default, instead of templateCompiler fixes #378
Diffstat (limited to 'tests/Hakyll')
-rw-r--r--tests/Hakyll/Web/Template/Tests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Hakyll/Web/Template/Tests.hs b/tests/Hakyll/Web/Template/Tests.hs
index ea3a9b2..a975901 100644
--- a/tests/Hakyll/Web/Template/Tests.hs
+++ b/tests/Hakyll/Web/Template/Tests.hs
@@ -51,7 +51,7 @@ case01 = do
out <- resourceString provider "template.html.out"
tpl <- testCompilerDone store provider "template.html" $
- templateCompiler
+ templateBodyCompiler
item <- testCompilerDone store provider "example.md" $
pandocCompiler >>= applyTemplate (itemBody tpl) testContext