@@ -21,7 +21,7 @@ main = hakyll defaultHakyllConfiguration $ do
2121 [ ("title", Left "Tutorials")
2222 , ("tutorials", Right tutorialList)
2323 ]
24− renderChain ["templates/tutorials.html", "templates/default.html"] tutorialPage
24+ renderChain ["templates/tutorials.html", "templates/default.html"] $ withSidebar tutorialPage
2525
2626 mapM_ render' $ [ "about.markdown"
2727 , "index.markdown"
@@ -29,4 +29,7 @@ main = hakyll defaultHakyllConfiguration $ do
2929 , "reference.markdown"
3030 ] ++ tutorials
3131
32− where render' = renderChain ["templates/default.html"] . createPagePath
32+ where
33+ render' = renderChain ["templates/default.html"] . withSidebar . createPagePath
34+ withSidebar a = a `combine` createPagePath "sidebar.markdown"
35+