diff options
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -82,6 +82,12 @@ main = hakyllWith hakyllConfig $ do >>= loadAndApplyTemplate "templates/default.html" indexContext -- >>= relativizeUrls + match "err.html" $ do + route idRoute + compile $ pandocCompiler + >>= loadAndApplyTemplate "templates/default.html" defaultContext + >>= relativizeUrls + match "404.html" $ do route idRoute compile $ pandocCompiler |