Skip to content

Commit

Permalink
Use smaller twitter card for pages with elm-pages icon as logo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns committed Jan 28, 2020
1 parent 76e32ad commit b562b02
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/docs/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ head metadata =
commonHeadTags
++ (case metadata of
Metadata.Page meta ->
Seo.summaryLarge
Seo.summary
{ canonicalUrlOverride = Nothing
, siteName = "elm-pages"
, image =
Expand All @@ -527,7 +527,7 @@ head metadata =
|> Seo.website

Metadata.Doc meta ->
Seo.summaryLarge
Seo.summary
{ canonicalUrlOverride = Nothing
, siteName = "elm-pages"
, image =
Expand Down Expand Up @@ -600,7 +600,7 @@ head metadata =
}

Metadata.BlogIndex ->
Seo.summaryLarge
Seo.summary
{ canonicalUrlOverride = Nothing
, siteName = "elm-pages"
, image =
Expand All @@ -616,7 +616,7 @@ head metadata =
|> Seo.website

Metadata.Showcase ->
Seo.summaryLarge
Seo.summary
{ canonicalUrlOverride = Nothing
, siteName = "elm-pages"
, image =
Expand All @@ -625,7 +625,7 @@ head metadata =
, dimensions = Nothing
, mimeType = Nothing
}
, description = siteTagline
, description = "See some neat sites built using elm-pages! (Or submit yours!)"
, locale = Nothing
, title = "elm-pages sites showcase"
}
Expand Down

0 comments on commit b562b02

Please sign in to comment.