Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Metatags to Next Build output #16105

Closed
5 tasks
Tracked by #16270 ...
timcosgrove opened this issue Nov 13, 2023 · 0 comments
Closed
5 tasks
Tracked by #16270 ...

Write Metatags to Next Build output #16105

timcosgrove opened this issue Nov 13, 2023 · 0 comments

Comments

@timcosgrove
Copy link
Contributor

timcosgrove commented Nov 13, 2023

Requirements

We want to include metatags in our pages so that various systems can make use of the metadata connected to those pages.

Acceptance criteria

Preview Give feedback

Background & implementation details

Content Build template for Metatags: https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/includes/metatags.drupal.liquid

Filters in Content Build which manipulate metatag data: https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/filters/liquid.js

The order of the Metatags does not need to match Content Build.

Meta robots noindex should be added conditionally for non-prod environments: https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/includes/header.html#L27

Implementation tasks

Preview Give feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants