summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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"