Skip to content

Commit d9a4939

Browse files
committed
remove index.html from url
1 parent b1c4531 commit d9a4939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ data Route
3535
deriving Show
3636

3737
relativeUrl :: Route -> FilePath
38-
relativeUrl RIndex = "index.html"
38+
relativeUrl RIndex = ""
3939
relativeUrl (RMeta title) = "meta" </> title ++ ".html"
4040
relativeUrl (RWiki title) = "wiki" </> title ++ ".html"
4141
relativeUrl RMainCss = "css/main.css"

0 commit comments

Comments
 (0)