From 8c9491983d75f673fdbdac2aeaec42d59927f243 Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Sat, 20 Jul 2013 17:53:40 +0300 Subject: [PATCH] add 404 page --- 404.markdown | 7 +++++++ site.hs | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 404.markdown 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 -- 1.7.10.4