postman-docs icon indicating copy to clipboard operation
postman-docs copied to clipboard

Add article:published_time meta tag to <head>, extending established patterns

Open tristandenyer opened this issue 2 years ago • 10 comments

Task:

  • LinkedIn cards (seen in their timeline) are looking for a "Published date", but we currently do not supply one.
  • We can add <meta property="article:published_time" content="2022-03-14T15:00:00+00:00"> to the <head>
  • and use the lastModifiedDate to populate the content attribute (you can leave the timestamp as a static value, if we don't have the time in lastModifiedDate.)

Helpful tips:

  • we use SEO.jsx to populate the <head>
  • lastModifiedDate already exists and is being used at bottom of doc pages
  • we likely need to pull in lastModifiedDate into SEO.jsx
  • there are established patterns is use (as mentioned above) look to those first, and extend them before creating new patterns / components.

Acceptance criteria:

  • prints <meta property="article:published_time" content="2022-03-14T15:00:00+00:00"> in <head> on build—for every page—and the date in content matches the date at the bottom of the page we are verifying. These are different for many pages, so check a few.

File under: #react #gatsby #graphql

tristandenyer avatar Mar 18 '22 19:03 tristandenyer

Hi is the issue still in rise

Jitulteron7 avatar Aug 18 '22 14:08 Jitulteron7