summaryrefslogtreecommitdiff
path: root/examples/brochure/hakyll.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/brochure/hakyll.hs')
-rw-r--r--examples/brochure/hakyll.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/brochure/hakyll.hs b/examples/brochure/hakyll.hs
index e84f14c..483265a 100644
--- a/examples/brochure/hakyll.hs
+++ b/examples/brochure/hakyll.hs
@@ -14,5 +14,5 @@ main = hakyll $ do
forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do
route page $ setExtension "html"
compile page $ defaultPageRead
- >>> require "templates/default.html" (flip applyTemplate)
+ >>> defaultApplyTemplate "templates/default.html"
>>> defaultRelativizeUrls