Add a 404 page

This commit is contained in:
Dimitri Lozeve 2024-02-28 22:27:38 +01:00
parent a7f5585709
commit 53c91abe4f
3 changed files with 26 additions and 12 deletions

View file

@ -112,6 +112,12 @@ main = hakyll $ do
match "templates/*" $ compile templateBodyCompiler
match "404.html" $ do
route idRoute
compile $
customPandocCompiler False
>>= loadAndApplyTemplate "templates/default.html" defaultContext
--------------------------------------------------------------------------------
feedConfiguration :: FeedConfiguration
feedConfiguration =