Skip to content

Commit

Permalink
adding twitter:image (#889)
Browse files Browse the repository at this point in the history
* 👾 added page metadata image and description for twitter/seo / fixes #471

* 👾 added dpla logo

* 👾 added page description from wp to news/some pro/some about

* 👾 making sure theres a twitter image
  • Loading branch information
mgiraldo authored Jun 28, 2018
1 parent c437a18 commit 0766b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/DPLAHead/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ class DPLAHead extends React.Component {
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@dpla" />
<meta name="twitter:creator" content="@dpla" />
<meta name="twitter:image" content={pageImage || defaultImageUrl} />
<meta name="og:image" content={pageImage || defaultImageUrl} />
<meta
name="og:title"
content={pageTitle || "Digital Public Library of America"}
/>
<meta name="og:image" content={pageImage || defaultImageUrl} />
<meta name="og:type" content={seoType || "website"} />
<meta name="theme-color" content="#ffffff" />
<link
Expand Down

0 comments on commit 0766b3e

Please sign in to comment.