summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/site.hs b/site.hs
index 5bc34bb..f125771 100644
--- a/site.hs
+++ b/site.hs
@@ -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
Generated by cgit. See skreutz.com for my tech blog and contact information.