## Description
- Update Contribute `links.md` to verify that internal and external
links open in the same tab.
- Remove "open in new" tab icon
## Related issues or tickets
https://docker.atlassian.net/browse/ENGDOCS-2717
## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
For some inexplicable reason, the link render hook was failing, probably
caused by cases where goldmark was called recursively by shortcodes.
This change changas the render hook to use the global `pages` pointer
instead of the .Pages pointer of the render hook context. Seems to work.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Links that started with a slash were being prepended the URL hostname
and rendered as absolute links before. This caused our link checker to
miss broken links that contained a leading slash.
This change fixes this issue by rendering links with a leading slash as-is,
without modification.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Prevents users from having the icon ligature text included in
clipboard text when copying text from the docs site.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>