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

Add render-link layout for opening external URLs in a new tab #360

Open
ajschmidt8 opened this issue Jan 26, 2024 · 0 comments
Open

Add render-link layout for opening external URLs in a new tab #360

ajschmidt8 opened this issue Jan 26, 2024 · 0 comments

Comments

@ajschmidt8
Copy link
Member

Hugo has Markdown render hooks that enable us to customize how links are rendered:

We should update the render-link.html template to ensure that external URLs are opened in a new tab.

These resources will be useful for the implementation:

As part of this effort, we should be sure to also remove all of the {: target="_blank"} tags from Jekyll that are no longer valid in Hugo.

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

No branches or pull requests

1 participant