diff options
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 |