Show possible routes in 404.

This commit is contained in:
Dillon Kearns 2019-07-22 14:38:36 -07:00
parent 0fe2a1b491
commit 13eaae498c

View File

@ -150,4 +150,9 @@ pageView url =
|> Element.column []
Nothing ->
Element.text "Page not found..."
-- Element.text "Page not found..."
Content.pages
|> List.map Tuple.first
|> List.map (String.join "/")
|> String.join ", "
|> Element.text