summaryrefslogtreecommitdiff
path: root/web/site.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-12-16 10:05:21 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2012-12-16 10:05:21 +0100
commit918ed3c3fab736bb6b3b72724bdcb07e33d87a0b (patch)
tree60f29a4b048b635a17941870b097a77e7dd29ea0 /web/site.hs
parent8a8dade15ffc84f543fc3774f7a0a8fac4835bd2 (diff)
downloadhakyll-918ed3c3fab736bb6b3b72724bdcb07e33d87a0b.tar.gz
Small fixes
Diffstat (limited to 'web/site.hs')
-rw-r--r--web/site.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/site.hs b/web/site.hs
index f106ca7..f8b3794 100644
--- a/web/site.hs
+++ b/web/site.hs
@@ -21,14 +21,14 @@ main = hakyllWith config $ do
-- Pages
match "*.markdown" $ do
route $ setExtension "html"
- compile $ pageCompiler
+ compile $ pandocCompiler
>>= loadAndApplyTemplate "templates/default.html" defaultContext
>>= relativizeUrls
-- Tutorials
match "tutorials/*" $ do
route $ setExtension "html"
- compile $ pageCompilerWith defaultHakyllParserState withToc
+ compile $ pandocCompilerWith defaultHakyllParserState withToc
>>= loadAndApplyTemplate "templates/tutorial.html" defaultContext
>>= loadAndApplyTemplate "templates/default.html" defaultContext
>>= relativizeUrls