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

How can I change the url of the logo a tag? #1683

Closed
ghost opened this issue Dec 10, 2022 · 1 comment
Closed

How can I change the url of the logo a tag? #1683

ghost opened this issue Dec 10, 2022 · 1 comment
Labels
enhancement New feature or request theme Related to the theme

Comments

@ghost
Copy link

ghost commented Dec 10, 2022

I am using VitePress for docs and I want the logo to link to my main site, not back to the docs. There does not appear to be any setting for that in App Configs or Theme Configs. I've tried changing it in index.html but it just gets overwritten when I run build.

How can I accomplish this?

I'd also suggest this as a feature (probably in App Configs). I'm sure others will/would/do want it. For an open source project, going back to the docs makes a lot of sense but for a business, you often want people on your main site and don't want friction getting them there.

@brc-dd brc-dd added enhancement New feature or request theme Related to the theme labels Dec 11, 2022
@cijiugechu
Copy link
Contributor

cijiugechu commented Dec 28, 2022

Maybe you can try this function , find and replace the link you want.

@github-actions github-actions bot added the stale label Aug 3, 2023
@brc-dd brc-dd removed the stale label Aug 4, 2023
@brc-dd brc-dd closed this as completed in 2a7422b Aug 4, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 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