-
Notifications
You must be signed in to change notification settings - Fork 63
Add meta tags to pages with new_header
enabled
#1942
Conversation
Storybook and Tailwind configuration previews: Ready Storybook: https://wordpress.github.io/openverse-frontend/_preview/1942 Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again. You can check the GitHub pages deployment action list to see the current status of the deployments. |
Size Change: -4.6 kB (-1%) Total Size: 818 kB
ℹ️ View Unchanged
|
Based on the high urgency of this PR, the following reviewers are being gently reminded to review this PR: @zackkrida Excluding weekend1 days, this PR was updated 2 day(s) ago. PRs labelled with high urgency are expected to be reviewed within 2 weekday(s)2. @obulat, if this PR is not ready for a review, please draft it to prevent reviewers from getting further unnecessary pings. Footnotes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes
Fixes #1826 by @zackkrida
Description
This PR adds
<meta name="robots" content="all">
(when thenew_header
is enabled) to the following pages:Testing Instructions
Run the app and check that without
new_header
, therobots
tag is set to 'noindex', and with the new header, the pages in the list haverobots
set toall
. You can check this by enteringdocument.querySelector('meta[name="robots"]').content
into the devtools console.Current values on the staging homepage:
Values from this PR's homepage:
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin