mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 13:21:42 +03:00
Rename function.
This commit is contained in:
parent
9ec5923ea1
commit
ad41434ae1
@ -94,7 +94,7 @@ view : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Ht
|
||||
view model page =
|
||||
let
|
||||
{ title, body } =
|
||||
pageOrPostView model page
|
||||
pageView model page
|
||||
in
|
||||
{ title = title
|
||||
, body =
|
||||
@ -108,8 +108,8 @@ view model page =
|
||||
}
|
||||
|
||||
|
||||
pageOrPostView : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Element Msg }
|
||||
pageOrPostView model page =
|
||||
pageView : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Element Msg }
|
||||
pageView model page =
|
||||
case page.metadata of
|
||||
Metadata.Page metadata ->
|
||||
{ title = metadata.title
|
||||
|
@ -97,7 +97,7 @@ view : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Ht
|
||||
view model page =
|
||||
let
|
||||
{ title, body } =
|
||||
pageOrPostView model page
|
||||
pageView model page
|
||||
in
|
||||
{ title = title
|
||||
, body =
|
||||
@ -108,8 +108,8 @@ view model page =
|
||||
}
|
||||
|
||||
|
||||
pageOrPostView : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Element Msg }
|
||||
pageOrPostView model page =
|
||||
pageView : Model -> Page (Metadata Msg) (Element Msg) -> { title : String, body : Element Msg }
|
||||
pageView model page =
|
||||
case page.metadata of
|
||||
Metadata.Page metadata ->
|
||||
{ title = metadata.title
|
||||
|
Loading…
Reference in New Issue
Block a user