diff options
| author | jamie <git@skilet.ro> | 2025-06-15 20:51:39 +0100 |
|---|---|---|
| committer | jamie <git@skilet.ro> | 2025-06-15 20:51:39 +0100 |
| commit | c9226ec7a204e69fd1ab362beec7dcda6a954037 (patch) | |
| tree | a19453e7869232b55973910456ca3fb1e1f1c521 | |
| parent | 21e5fcfa3ff23c4b2835092a6fb3adc08295a808 (diff) | |
feat: add 404 page
Diffstat (limited to '')
| -rw-r--r-- | 404.html | 9 | ||||
| -rw-r--r-- | site.hs | 2 |
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> @@ -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 |
