From e633df17dd72703a541c46d829096dfe40b75e50 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sat, 15 Dec 2012 18:02:47 +0100 Subject: Rename pageCompiler to pandocCompiler --- data/example/site.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data') 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 -- cgit v1.2.3