Add a 404 page
This commit is contained in:
parent
a7f5585709
commit
53c91abe4f
3 changed files with 26 additions and 12 deletions
6
site.hs
6
site.hs
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue