summaryrefslogtreecommitdiff
path: root/data/example
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 /data/example
parent8dec0a51fbcab519755147828b546abdb397fbd8 (diff)
downloadhakyll-5a4ae4147313f52d50ff3bd9d74340a86175a5d9.tar.gz
templateBodyCompiler compiles resource body only
and becomes the new default, instead of templateCompiler fixes #378
Diffstat (limited to 'data/example')
-rw-r--r--data/example/site.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/example/site.hs b/data/example/site.hs
index be041f8..2751f77 100644
--- a/data/example/site.hs
+++ b/data/example/site.hs
@@ -57,7 +57,7 @@ main = hakyll $ do
>>= loadAndApplyTemplate "templates/default.html" indexCtx
>>= relativizeUrls
- match "templates/*" $ compile templateCompiler
+ match "templates/*" $ compile templateBodyCompiler
--------------------------------------------------------------------------------