postman-docs
postman-docs copied to clipboard
Add article:published_time meta tag to <head>, extending established patterns
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 thecontent
attribute (you can leave the timestamp as a static value, if we don't have the time inlastModifiedDate
.)
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 incontent
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
Hi is the issue still in rise