@@ -44,7 +44,7 @@ main = hakyllWith config $ do
44 -- Tutorials
44 -- Tutorials
45 match "tutorials/*" $ do
45 match "tutorials/*" $ do
46 route $ setExtension "html"
46 route $ setExtension "html"
47− compile $ pandocCompilerWith def withToc
47+ compile $ pandocCompilerWith defaultHakyllReaderOptions withToc
48 >>= loadAndApplyTemplate "templates/tutorial.html" defaultContext
48 >>= loadAndApplyTemplate "templates/tutorial.html" defaultContext
49 >>= loadAndApplyTemplate "templates/default.html" defaultContext
49 >>= loadAndApplyTemplate "templates/default.html" defaultContext
50 >>= relativizeUrls
50 >>= relativizeUrls