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

Allow sidebar links to customise target & rel attributes #2851

Closed
4 tasks done
g-dx opened this issue Aug 25, 2023 · 0 comments
Closed
4 tasks done

Allow sidebar links to customise target & rel attributes #2851

g-dx opened this issue Aug 25, 2023 · 0 comments
Labels
enhancement New feature or request theme Related to the theme

Comments

@g-dx
Copy link
Contributor

g-dx commented Aug 25, 2023

Is your feature request related to a problem? Please describe.

Now that the pathname protocol has been removed (5836fac) I believe there is no way to configure a sidebar link which points to an external resource.

Describe the solution you'd like

I assume we need the same customisation as is available for nav items:

https://vitepress.dev/reference/default-theme-nav#customize-link-s-target-and-rel-attributes

Describe alternatives you've considered

No response

Additional context

No response

Validations

@brc-dd brc-dd added enhancement New feature or request theme Related to the theme labels Aug 25, 2023
@brc-dd brc-dd closed this as completed in e477cdf Aug 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request theme Related to the theme
Projects
None yet
Development

No branches or pull requests

2 participants