diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-02-23 13:49:14 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-02-23 13:49:14 +0100 |
commit | 01f75bc4336cec925db4c9f454e844d4f8c3f1b9 (patch) | |
tree | e6265f3ce75a41a37865eb5a0e292a2e1cc89cfa /examples/brochure | |
parent | cd6d968187df77523f219f82540e3b65fe94a1ca (diff) | |
download | hakyll-01f75bc4336cec925db4c9f454e844d4f8c3f1b9.tar.gz |
Remove Hakyll.Web shit from brochure example
Diffstat (limited to 'examples/brochure')
-rw-r--r-- | examples/brochure/hakyll.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/brochure/hakyll.hs b/examples/brochure/hakyll.hs index 483265a..8040bdf 100644 --- a/examples/brochure/hakyll.hs +++ b/examples/brochure/hakyll.hs @@ -7,12 +7,12 @@ import Hakyll main :: IO () main = hakyll $ do route "css/*" idRoute - compile "css/*" defaultCompressCss + compile "css/*" compressCssCompiler - compile "templates/*" defaultTemplateRead + compile "templates/*" templateCompiler forM_ ["about.rst", "index.markdown", "code.lhs"] $ \page -> do route page $ setExtension "html" - compile page $ defaultPageRead - >>> defaultApplyTemplate "templates/default.html" - >>> defaultRelativizeUrls + compile page $ readPageCompiler + >>> applyTemplateCompiler "templates/default.html" + >>> relativizeUrlsCompiler |