mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-02 17:03:06 +03:00
Update meta tags for elm-pages site.
This commit is contained in:
parent
8cb8141844
commit
11c3503a25
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user