add 404 page
authorLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 20 Jul 2013 14:53:40 +0000 (17:53 +0300)
committerLucian Mogosanu <lucian.mogosanu@gmail.com>
Sat, 20 Jul 2013 14:53:40 +0000 (17:53 +0300)
404.markdown [new file with mode: 0644]
site.hs

diff --git a/404.markdown b/404.markdown
new file mode 100644 (file)
index 0000000..7680809
--- /dev/null
@@ -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 (file)
--- 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