From 918ed3c3fab736bb6b3b72724bdcb07e33d87a0b Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Sun, 16 Dec 2012 10:05:21 +0100 Subject: Small fixes --- web/site.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/site.hs') 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 -- cgit v1.2.3