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
208
208
>>= loadAndApplyTemplate " templates/boilerplate.html" sponsors
209
209
>>= relativizeUrls
210
210
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
+
211
221
-- templates -------------------------------------------------------------------------------------------
212
222
match " templates/*" $ compile templateBodyCompiler
213
223
match " templates/**" $ compile templateBodyCompiler
You can’t perform that action at this time.
0 commit comments