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

Correct the documentation of hrefTargetBlank #428

Closed
kaushalmodi opened this issue Mar 21, 2018 · 0 comments
Closed

Correct the documentation of hrefTargetBlank #428

kaushalmodi opened this issue Mar 21, 2018 · 0 comments

Comments

@kaushalmodi
Copy link
Contributor

kaushalmodi commented Mar 21, 2018

Looks like.. unlike Blackfriday claims, hrefTargetBlank inserts target="_blank" (not that I am a fan of _blank targets) for all non-relative links i.e. absolute links.. even if the absolute links are internal, on the same domain.

So setting that to true doesn't necessarily mean that it will insert _blank target only for external links.

See https://discourse.gohugo.io/t/internal-links-in-same-tab-external-links-in-new-tab/11048/8?u=kaushalmodi

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