Skip to content

Make external links open in new tabs while preserving internal link behavior #15080

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

asafashirov
Copy link
Contributor

This PR adds functionality to make external links open in new tabs, while preserving internal link behavior. It adds a small JavaScript module that identifies external links and adds target=_blank\ and rel=\noopener\ attributes to them.\n\nThis is a clean version of PR #15025 that removes the IndexNow integration.

@pulumi-bot
Copy link
Collaborator

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

Successfully merging this pull request may close these issues.

2 participants