Skip to content

Commit f710788

Browse files
committedDec 30, 2013
Added 404 page
1 parent be62e53 commit f710788

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎404.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: 404
3+
---
4+
### 404: Page Not Found
5+
The page you tried to open could not be found. You might find what you are looking for on the [homepage](http://techblog.rosedu.org) though.

‎site.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ buildTechblog = do
3838
route idRoute
3939
compile compressCssCompiler
4040

41-
match (fromList ["about.md", "people.md"]) $ do
41+
match (fromList ["about.md", "people.md", "404.md"]) $ do
4242
route $ setExtension "html"
4343
compile $ pandocCompiler
4444
>>= loadAndApplyTemplate "templates/default.html" defaultContext

0 commit comments

Comments
 (0)
Please sign in to comment.