summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--404.html9
-rw-r--r--site.hs2
2 files changed, 10 insertions, 1 deletions
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..4bbf02f
--- /dev/null
+++ b/404.html
@@ -0,0 +1,9 @@
+---
+title: 404 Not Found
+---
+
+<p>The page you requested cannot be found.</p>
+
+<p>
+ <a href="/">Click here to return back to the home page.</a>
+</p>
diff --git a/site.hs b/site.hs
index 571eac3..c5a1d8e 100644
--- a/site.hs
+++ b/site.hs
@@ -21,7 +21,7 @@ main = hakyll $ do
let compressCssItem = fmap compressCss
compile (compressCssItem <$> sassCompiler)
- match (fromList ["about.rst", "contact.markdown"]) $ do
+ match (fromList ["about.rst", "contact.markdown", "404.html"]) $ do
route $ setExtension "html"
compile $
pandocCompiler