File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,16 @@ main = hakyll $ do
208208 >>= loadAndApplyTemplate " templates/boilerplate.html" sponsors
209209 >>= relativizeUrls
210210
211+ -- 404 -------------------------------------------------------------------------------------------------
212+ match " 404.html" $ do
213+ route idRoute
214+ compile $ do
215+ sponsors <- buildSponsorsCtx
216+ getResourceBody
217+ >>= applyAsTemplate sponsors
218+ >>= loadAndApplyTemplate " templates/boilerplate.html" sponsors
219+ >>= relativizeUrls
220+
211221-- templates -------------------------------------------------------------------------------------------
212222 match " templates/*" $ compile templateBodyCompiler
213223 match " templates/**" $ compile templateBodyCompiler
You can’t perform that action at this time.
0 commit comments