Include posts in list of valid urls.

This commit is contained in:
Dillon Kearns 2019-07-23 15:44:34 -07:00
parent 77a6c48a01
commit 436ee1e3ac

View File

@ -102,7 +102,7 @@ pageView content url =
Nothing ->
Element.column []
[ Element.text "Page not found. Valid routes:\n\n"
, content.pages
, (content.pages ++ content.posts)
|> List.map Tuple.first
|> List.map (String.join "/")
|> String.join ", "