diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-14 13:49:51 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-14 13:49:51 +0100 |
commit | 3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1 (patch) | |
tree | 41cef450bcf59af156b438b0530e7f8880a2440d /data/example | |
parent | adc8cf8528e7c9d95e2a8406a02e69cce858f088 (diff) | |
download | hakyll-3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1.tar.gz |
Docs on basic rules and routes
Diffstat (limited to 'data/example')
-rw-r--r-- | data/example/site.hs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/data/example/site.hs b/data/example/site.hs index 9c24b34..60369ed 100644 --- a/data/example/site.hs +++ b/data/example/site.hs @@ -18,17 +18,9 @@ main = hakyll $ do match (fromList ["about.rst", "contact.markdown"]) $ do route $ setExtension "html" - compile $ do - - defaultTpl <- loadBody "templates/default.html" - pageCompiler - >>= applyTemplate defaultTpl defaultContext - >>= relativizeUrls - {- compile $ pageCompiler >>= loadAndApplyTemplate "templates/default.html" defaultContext >>= relativizeUrls - -} match "posts/*" $ do route $ setExtension "html" |