mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +03:00
Update docs meta tags.
This commit is contained in:
parent
e19a488c13
commit
3f32ba15e6
@ -42,7 +42,7 @@ main =
|
||||
, markdownToHtml = markdownToHtml
|
||||
, toJsPort = toJsPort
|
||||
, headTags = headTags
|
||||
, siteUrl = "https://incrementalelm.com"
|
||||
, siteUrl = "https://elm-pages.com"
|
||||
}
|
||||
|
||||
|
||||
@ -158,7 +158,7 @@ headTags : String -> Metadata.Metadata msg -> List HeadTag
|
||||
headTags canonicalUrl metadata =
|
||||
let
|
||||
siteName =
|
||||
"Incremental Elm Consulting"
|
||||
"A statically typed site generator - elm-pages"
|
||||
|
||||
themeColor =
|
||||
"#ffffff"
|
||||
@ -202,12 +202,6 @@ pageTags metadata =
|
||||
title =
|
||||
meta.title.raw
|
||||
|
||||
twitterUsername =
|
||||
"dillontkearns"
|
||||
|
||||
twitterSiteAccount =
|
||||
"incrementalelm"
|
||||
|
||||
image =
|
||||
""
|
||||
in
|
||||
@ -239,14 +233,6 @@ pageTags metadata =
|
||||
[ ( "name", "twitter:card" )
|
||||
, ( "content", "summary_large_image" )
|
||||
]
|
||||
, HeadTag.node "meta"
|
||||
[ ( "name", "twitter:creator" )
|
||||
, ( "content", ensureAtPrefix twitterUsername )
|
||||
]
|
||||
, HeadTag.node "meta"
|
||||
[ ( "name", "twitter:site" )
|
||||
, ( "content", ensureAtPrefix twitterSiteAccount )
|
||||
]
|
||||
, HeadTag.node "meta"
|
||||
[ ( "name", "twitter:description" )
|
||||
, ( "content", meta.title.raw )
|
||||
|
Loading…
Reference in New Issue
Block a user