From: Lucian Mogosanu Date: Sat, 20 Jul 2013 14:53:40 +0000 (+0300) Subject: add 404 page X-Git-Tag: v0.1~24 X-Git-Url: https://git.mogosanu.ro/?a=commitdiff_plain;h=8c9491983d75f673fdbdac2aeaec42d59927f243;p=thetarpit.git add 404 page --- diff --git a/404.markdown b/404.markdown new file mode 100644 index 0000000..7680809 --- /dev/null +++ b/404.markdown @@ -0,0 +1,7 @@ +--- +title: Four, oh, four, page not found +author: Lucian Mogoșanu +date: July 20, 2013 +--- + +`*** Exception: TarPit.undefined` diff --git a/site.hs b/site.hs index c4f327d..0cbc434 100644 --- a/site.hs +++ b/site.hs @@ -12,7 +12,7 @@ main = hakyll $ do match "index.html" compileIndex match "css/*" compileCss match "posts/*" $ compilePosts tags - match (fromList ["about.markdown"]) compilePages + match (fromList ["about.markdown", "404.markdown"]) compilePages create ["archive.html"] compileArchive -- tags rules