Update meta tags for elm-pages site.

This commit is contained in:
Dillon Kearns 2019-09-09 14:57:18 -07:00
parent 8cb8141844
commit 11c3503a25

View File

@ -247,35 +247,35 @@ header =
head : Metadata Msg -> List (Head.Tag PagesNew.PathKey) head : Metadata Msg -> List (Head.Tag PagesNew.PathKey)
head metadata = head metadata =
case metadata of case metadata of
Metadata.Page _ -> Metadata.Page meta ->
Seo.summaryLarge Seo.summaryLarge
{ canonicalUrlOverride = Nothing { canonicalUrlOverride = Nothing
, siteName = "elm-pages" , siteName = "elm-pages"
, image = , image =
{ url = PagesNew.images.icon { url = images.icon
, alt = "" , alt = "elm-pages logo"
, dimensions = Nothing , dimensions = Nothing
, mimeType = Nothing , mimeType = Nothing
} }
, description = siteTagline , description = siteTagline
, locale = Nothing , locale = Nothing
, title = "elm-pages" , title = meta.title
} }
|> Seo.website |> Seo.website
Metadata.Doc _ -> Metadata.Doc meta ->
Seo.summaryLarge Seo.summaryLarge
{ canonicalUrlOverride = Nothing { canonicalUrlOverride = Nothing
, siteName = "elm-pages" , siteName = "elm-pages"
, image = , image =
{ url = PagesNew.images.icon { url = images.icon
, alt = "" , alt = "elm pages logo"
, dimensions = Nothing , dimensions = Nothing
, mimeType = Nothing , mimeType = Nothing
} }
, locale = Nothing , locale = Nothing
, description = siteTagline , description = siteTagline
, title = "elm-pages" , title = meta.title
} }
|> Seo.website |> Seo.website