summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-14 13:49:51 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-14 13:49:51 +0100
commit3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1 (patch)
tree41cef450bcf59af156b438b0530e7f8880a2440d /data
parentadc8cf8528e7c9d95e2a8406a02e69cce858f088 (diff)
downloadhakyll-3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1.tar.gz
Docs on basic rules and routes
Diffstat (limited to 'data')
-rw-r--r--data/example/site.hs8
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"