From 3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 14 Dec 2012 13:49:51 +0100 Subject: Docs on basic rules and routes --- data/example/site.hs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'data') 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" -- cgit v1.2.3