mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 23:12:22 +03:00
Show possible routes in 404.
This commit is contained in:
parent
0fe2a1b491
commit
13eaae498c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user