summaryrefslogtreecommitdiff
path: root/web/tutorials
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2016-01-31 17:26:49 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2016-01-31 17:26:49 +0100
commit6eb19c9eaacb6c9d0b1f9c3717bcaebbbf7cea19 (patch)
tree31c23f03e0aa3bfa6e2f6dda6827406cd618c184 /web/tutorials
parent5f0bdeabaafb696753d491b35eeee86f69d57507 (diff)
parent5a4ae4147313f52d50ff3bd9d74340a86175a5d9 (diff)
downloadhakyll-6eb19c9eaacb6c9d0b1f9c3717bcaebbbf7cea19.tar.gz
Merge pull request #385 from bergus/template
templateCompiler compiles resource body only
Diffstat (limited to 'web/tutorials')
-rw-r--r--web/tutorials/04-compilers.markdown4
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