summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/example/site.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/example/site.hs b/data/example/site.hs
index 60369ed..82a9f3e 100644
--- a/data/example/site.hs
+++ b/data/example/site.hs
@@ -18,14 +18,14 @@ main = hakyll $ do
match (fromList ["about.rst", "contact.markdown"]) $ do
route $ setExtension "html"
- compile $ pageCompiler
+ compile $ pandocCompiler
>>= loadAndApplyTemplate "templates/default.html" defaultContext
>>= relativizeUrls
match "posts/*" $ do
route $ setExtension "html"
compile $ do
- post <- pageCompiler
+ post <- pandocCompiler
saveSnapshot "content" post
return post
>>= loadAndApplyTemplate "templates/post.html" postCtx