From ec5392ea2c6eea0a5275017ec58c7dc11c7cc6b7 Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Mon, 22 Jul 2013 11:21:07 +0300 Subject: [PATCH] add 403 page --- 403.markdown | 9 +++++++++ site.hs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 403.markdown diff --git a/403.markdown b/403.markdown new file mode 100644 index 0000000..c66235c --- /dev/null +++ b/403.markdown @@ -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 --- 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 -- 1.7.10.4