mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 09:21:57 +03:00
Update docs.
This commit is contained in:
parent
4ba800d22d
commit
205de41f21
@ -295,11 +295,14 @@ getBuildTimeRoutes (ApiRoute handler) =
|
||||
handler.buildTimeRoutes
|
||||
|
||||
|
||||
{-| Include head tags on every page's HTML.
|
||||
-}
|
||||
withGlobalHeadTags : DataSource (List Head.Tag) -> ApiRoute response -> ApiRoute response
|
||||
withGlobalHeadTags globalHeadTags (ApiRoute handler) =
|
||||
ApiRoute { handler | globalHeadTags = Just globalHeadTags }
|
||||
|
||||
|
||||
{-| -}
|
||||
getGlobalHeadTagsDataSource : ApiRoute response -> Maybe (DataSource (List Head.Tag))
|
||||
getGlobalHeadTagsDataSource (ApiRoute handler) =
|
||||
handler.globalHeadTags
|
||||
|
Loading…
Reference in New Issue
Block a user