add 403 page
authorLucian Mogosanu <lucian.mogosanu@gmail.com>
Mon, 22 Jul 2013 08:21:07 +0000 (11:21 +0300)
committerLucian Mogosanu <lucian.mogosanu@gmail.com>
Mon, 22 Jul 2013 08:21:07 +0000 (11:21 +0300)
403.markdown [new file with mode: 0644]
site.hs

diff --git a/403.markdown b/403.markdown
new file mode 100644 (file)
index 0000000..c66235c
--- /dev/null
@@ -0,0 +1,9 @@
+---
+title: Four, oh, three, forbidden
+author: Lucian MogoČ™anu
+date: July 20, 2013
+---
+
+~~~~ {.haskell}
+putStrLn "Thou shall not pass!"
+~~~~
diff --git a/site.hs b/site.hs
index 65696f7..4267dbf 100644 (file)
--- a/site.hs
+++ b/site.hs
@@ -13,7 +13,7 @@ main = hakyllWith tarpitConfiguration $ do
   match "index.html" compileIndex
   match "css/*" compileCss
   match "posts/*" $ compilePosts tags
-  match (fromList ["about.markdown", "404.markdown"]) compilePages
+  match (fromList ["about.markdown", "404.markdown", "403.markdown"]) compilePages
   create ["archive.html"] compileArchive
 
   -- tags rules