summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-15 18:02:47 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-15 18:02:47 +0100
commite633df17dd72703a541c46d829096dfe40b75e50 (patch)
treec8514b0a05fed2e0e359d479c934cbd9ae504abf /data
parent3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1 (diff)
downloadhakyll-e633df17dd72703a541c46d829096dfe40b75e50.tar.gz
Rename pageCompiler to pandocCompiler
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