diff options
author | Bergi <a.d.bergi@web.de> | 2015-10-21 22:14:39 +0200 |
---|---|---|
committer | Bergi <a.d.bergi@web.de> | 2015-10-24 20:29:10 +0200 |
commit | 5a4ae4147313f52d50ff3bd9d74340a86175a5d9 (patch) | |
tree | 1a2ea03e694947f7f8d4b7c3b1dd123b7d9226d8 /web | |
parent | 8dec0a51fbcab519755147828b546abdb397fbd8 (diff) | |
download | hakyll-5a4ae4147313f52d50ff3bd9d74340a86175a5d9.tar.gz |
templateBodyCompiler compiles resource body only
and becomes the new default, instead of templateCompiler
fixes #378
Diffstat (limited to 'web')
-rw-r--r-- | web/tutorials/04-compilers.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/tutorials/04-compilers.markdown b/web/tutorials/04-compilers.markdown index 49935e1..d283e9a 100644 --- a/web/tutorials/04-compilers.markdown +++ b/web/tutorials/04-compilers.markdown @@ -53,10 +53,10 @@ when the template is applied. If you want an actual dollar sign in the output, use `$$`. You usually compile the templates from disk using the aptly named -`templateCompiler`: +`templateBodyCompiler`: ```haskell -match "templates/*" $ compile templateCompiler +match "templates/*" $ compile templateBodyCompiler ``` Notice the lack of `route` here: this is because we don't need to write the |