diff options
Diffstat (limited to 'web/site.hs')
-rw-r--r-- | web/site.hs | 4 |
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 |